Ssh Key Gen
To create an SSH Key and transfer it to the server run
ssh-keygen -t dsa; ssh-copy-id -i ~/.ssh/id_dsa.pub server.example.com
- when asked "Enter passphrase (empty for no passphrase):" and "Enter same passphrase again:", press enter for automatic logon
- change server.example.com to your computers DNS name
You will need to enter you ssh password the 1st time to copy the file. After you logout, try ssh youruser@server.example.com
You should not have to enter your password now :)
Changes
- See Comments