Passwordless ssh authentication!

In your local system, check to see if you have the following files:

  • ~/.ssh/id_rsa
  • ~/.ssh/

If not, type:

ssh-keygen -t rsa

And follow the instructions. Note that ssh-agent can be used to securely save your passphrase.

After you have generate your private and public keys, you want to give your remote system the public key:

ssh-copy-id -i ~/.ssh/ username@remote.system

After entering your password, you’re done!