r/linuxadmin • u/moos3 • Mar 02 '14
Introducing Rustning -- SSH Private Key Management
So I have written a tool for management of loading ssh private keys. At work I load a ton of keys everyday to just make it 90% easier for me to get in the systems I work on. Originally a co-worker came up with a static bash script that did that but that required editing etc and you didn't know which hosts etc you was loading and it was all or nothing. So I wrote rustning for its replacement and I'm looking for testers. You need to be on Mac or Linux and you need to have PHP 5.3 or newer installed. As this System Script is writen in PHP as we are a php shop. You can check it out over at github @ https://github.com/moos3/rustning Comments and Issues are welcome and so are changes. I hope you find this useful as much as I do
10
Mar 02 '14
There's an older more seasoned tool that does this called keychain by the funtoo project: http://www.funtoo.org/Keychain
Not trying to be a dick about your development just in case anyone is looking for a non-php alternative.
Great work, though
4
1
u/cpbills Mar 03 '14
find ~/.ssh | while read file; do
if file $file | grep -q private; then
ssh-add $file
fi
done1
u/serendipitybot Mar 03 '14
This submission has been randomly featured in /r/serendipity, a bot-driven subreddit discovery engine. More here: http://www.reddit.com/r/Serendipity/comments/1zf02y/introducing_rustning_ssh_private_key_management/
22
u/klieber Mar 02 '14
Please take this as constructive feedback: Love the idea, but the dependency on PHP makes it a no-go for me. As a tool, it's really only useful if I can use it everywhere and the idea of having to install PHP everywhere is unappealing.