ssh-keygen+(passwordless+login)

Create a key on your local machine using the following command in the terminal...
code format="bash" ssh-keygen -t dsa code ==== Two prompts should follow the correct input of the above command. Hitting return for each of these will accept the default location and password (which is a lack of a password). Following this, you should see a crazy series of symbols. This is your newly created key! Please note, accepting the defaults will overwrite the .ssh/authorized_keys2 file. Exactly one user may have the passwordless key. ====

**Copy your key to the remote machine...**
code format="bash" scp ~/.ssh/id_dsa.pub username@machine.name.edu:~/.ssh/authorized_keys2 code Ensure you replace the text string ** username@machine.name.edu ** with your own username (at the remote machine) and remote machine.

Finalizing the process...
code format="bash" ssh-agent sh -c ssh-add < /dev/null && bash code Login with your password one last time and you should now be good to go!

Errors...
Remote login fails with the following error: "Agent admitted failure to sign using the key." Fix: On your local machine type, ** ssh-add **, hit enter, now try to log back in.

TPP 08/24/2012