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