At work I’ve got a bunch of SSH logins across multiple systems. Now, I’ve got my password generator, and that’s been a big help, but I don’t want to have to go around entering passwords every time I want to log into a system, so I decided to set up SSH keys.
The only problem is that most of the tutorials out there only show you how to set up one identification key, which isn’t what I wanted to do. So I wrote a script that’ll generate the keys, copy it to your server, add the public key to your .ssh directory (or wherever you want to put it) and add the appropriate lines to the .ssh/config file.
All you need to run it is the username, server address and password. Then look forward to many happy years of not entering your password anymore. It’s licensed under the GPLv3, so feel free to change it how you want.
