Generating an SSH key to log into a target machine
Use ssh-keygen to create a set of secure RSA keys, public and private, on your own machine
Note the location of the private key
Copy the public key
SSH into the target machine
Paste public key into ~/.ssh/authorized_users
[sudo] nano ~/.ssh/authorized_users
May require sudoers privilege
SSH into the target machine using the private key on your machine:
ssh -i /path/to/private/key user@remotehost