Monday, July 20, 2009

Passwordless SSH


On your local machine:

ssh-keygen -t rsa

Append the contents of your public key to the authorized_keys file on the remote OpenSSH server:
cat ~/.ssh/id_rsa.pub | ssh remote_server "cat - >> ~/.ssh/authorized_keys"

No comments: