I don’t know why I’ve never got round to doing this before, but this handy guide will show you how to create an RSA key and stop having to authenticate with a password each time you try to SSH into your server.

https://help.ubuntu.com/community/SSH/OpenSSH/Keys

Suprisingly simple, and great when managing various servers.  Now, why didn’t I get round to doing this when I had 150+ servers in the mid 2000s.

Note:

When I ran into some problems along the way (due to not setting the permissions to 600 on the authorized_keys file, I used:

ssh -v user@host

To get a verbose output and find the problem.

Comments are closed.

Post Navigation