How To Make SSH Keys ---- I. Check that there is an .ssh directory in your home directory on the remote machine & that it is NOT group writable: chmod g-w .ssh II. If you already have an authorized keys file on the remote machine, make sure it's permissions are right: chmod 600 authorized_keys2 ---- 1) First make the key on your local machine ssh-keygen -t dsa Note this makes type 2 keys which are better. 2) a) If this is NOT the first key you are adding (say you have a different machine that also needs access) Copy the new public key up but CAT it onto the existing file. The command below does that all in one step: cat id_dsa.pub |ssh deep@fangorious.deeptrouble.com 'sh -c "cat - >>~/.ssh/authorized_keys2"' If you have to copy the file up some other way, use this command to concatenate the files: cat id_dsa.pub >> .ssh/authorized_keys2 NOTE the >> IS VERY IMPORTANT 2) b) If this is the first key you are adding to the remote machine, Just copy the public key you made up to the remote machine: scp ~/.ssh/id_dsa.pub deep@fangorious.deeptrouble.com:.ssh/authorized_keys2