Passwordless Logons with SSH

1. Create your keypair:
# ssh-keygen -t rsa
2. Send the public key (~/.ssh/id_rsa.pub) to the remote host. It is a plain text file. Store this in ~/.ssh/authorized_keys on the remote host. If the file exists already, append it to the end of the file on a new line.
3. Log out of the remote system. Try and log in.

This entry was posted in Blog. Bookmark the permalink.

Comments are closed.