SSH Key Setup Script

Posted by Paul on Jul 25, 2007 in Uncategorized |

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.

Download my SSH Setup Script 

Tags: , , ,

2 Comments


[...] monado Paul Rothrock at Move to Iceland is generous enough to supply a link to his script to generate different SSH keys for different logins. Posted in Web, technology. Tags: software, technology, [...]


 
James
Jun 14, 2009 at 9:28 pm

Paul,
consider using Puppet to manage stuff like this. http://www.reductivelabs.com


 

Reply

Copyright © 2010 Move to Iceland All rights reserved.
Desk Mess Mirrored v1.3 theme from BuyNowShop.com.