Monday, October 10, 2011

ssh and scp

silently ssh into another vm without being prompted for password.
save the output of the following command to a file named authorized_keys,
$ssh-keygen

copy this file into the remote user's home dir's /.ssh folder on the remote systems.
if the authorized_keys file already exists then append your key to the file.
chmod 700 authorized_keys on the remote system.

that's it.

0 Comments:

Post a Comment

<< Home