- Create the RSA Key Pair on home machine
$ ssh-keygen -t rsa
- Store the keys and passphrase
Push enter twice to the prompts for where to save the key and the passphrase
- Copy the public Key to the away machine
$ ssh-copy-id firstname.lastname@example.org
ssh-copy-idis not a functioning command
$ cat ~/.ssh/id_rsa.pub | ssh email@example.com "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys"