In your local system, check to see if you have the following files:
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/id_rsa.pub firstname.lastname@example.org
After entering your password, you’re done!