Oct
4th
Sat
4th
Passwordless SSH
How to have happy Passwordless SSH Access to your servers.
1. edit /etc/ssh/sshd_config on your server and ensure the following two lines are set:
RSAAuthentication yes
PubkeyAuthentication yes
2. on your client workstation generate your SSH keys if you havn’t done before with ssh-keygen
*just press enter and leave your passphrase blank*
3. copy the file on your client machine ~/.ssh/id_rsa.pub to a temporary directory on your server
4. Log into your server and type /tmp_directory/cat id_rsa.pub » ~/.ssh/authorized_keys2
5. You’re done!