Tracy R Reed wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Having gotten tired of manually installing my ssh pubkey on boxes I
wondered if
there might be a way to automate the process. This handy little shell script
ssh-wrapper was the result. I save it as ~/bin/pubkey-installer.sh and
alias my
ssh command to this and always get my public key automatically installed
on the
box I log into. I have tried to make is as generic and work just like the
normal ssh as possible. Improvements are welcome.
Thanks Tracy, I have been working on making a key installer that I can
use to deploy keys on multiple servers after creating new users. Your
code here has given me a much better way to move the keys around. I was
treating it as file, and neglected to even think about treating the key
as data. You have saved me some time and headaches. I will share my
script when it is finished.
--
"It's never happened in the World Series competition, and it still hasn't."
--Yogi Bera
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list