mass distribustion of .ssh/authorized_keys

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I've got a large number of routers and switches that all support ssh
access.  I'd like to set them up with my public key without having to
enter my password once for each box.  Before I write an expect script
or something, I thought I'd see if anyone's done this before.  The
targets are running rbash, so you can't assume anything beyond the
bash built-ins and the ssh command itself. Bonus points if you provide
an option to append to a possibly existing file rather than
overwriting it.  Don't knock yourself out; if no one responds, I'll
post whatever I wind up writing next week.

Site Timeline