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