Ssh - Aix

Hi,
Can u tell me how to execute a command at remote server using ssh

What I need to do is , I have got 5 id files for 5 different remote servers and has to zip files in the remote servers using ssh and zip utility.
ssh has been configured on the remote server , and i have got id files and pass phrase, but i don't know how to connect using RSA and execute ..
what are the steps i need to do , to connect to the server and execute the ssh -zip .

What i have done is ,
1 Created Key file in the local machine using the command : ssh-keygen -p
2 copied id_rsa.pub file in the local machine to remote server and updated the file known_hosts [ cat id_rsa.pub >> known_hosts ]

connection is getting established , but asks for password

please help me

Thanks in advance
shihab

From this, it looks like you are using a pass phrase in the key exchange. Use a blank passphrase during key generation. This will probably fix the problem.

Hi ..
The Administrators of the remote machine have created id_rsa.pub file with pass phrase , but when i created it , from my local machine I used blank pass phrase.
Then updated the authorized_keys in the remote server file with the public key generated at the local macine.
I haven't done anything with the id files at the remote server

 Is it related to the remote id file ? when we connect from local to remote , it wont check the id files of remote server .. am i right ?

Shihab