key authentication for ssh
Wednesday, July 28, 2010 3:10:07 AM
1) create your own key and passphrase.
$ ssh-keygen -t dsa
2) put the id_dsa.pub into the .ssh/ of your REMOTE home directory.
$ mv id_dsa.pub authorized_keys
3) Modify sshd_config to deny password authentication & restart sshd
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
4) Everything's DONE
$ ssh-keygen -t dsa
2) put the id_dsa.pub into the .ssh/ of your REMOTE home directory.
$ mv id_dsa.pub authorized_keys
3) Modify sshd_config to deny password authentication & restart sshd
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
4) Everything's DONE






