The situation I am in is as follows:
There are some computers in a network. They are sharing the same file server ie the same home directory. I am not sure how it works but logging from any machine using the same user name takes me to the same home directory. Now I am trying to ssh from one machine to another because I want to run a client server application where clients and server are running on different computers. For this reason I wrote some script, to run the clients in different computers using command like this
ssh machine1 ./client.o machine0
ssh machine2 ./client.o machine0
ssh machine3 ./client.o machine0
But it asks password as a result of calling the ssh. I am not sure how to prevent machines from asking passwords. The problem is the ssh keys are stored in the same .ssh under the same home directory. Please suggest some way out of this trap.