http://qs321.pair.com?node_id=1209893


in reply to SSH connection to 100 routers

"...I cant manually connect to 900 servers to establish the SSH key..."

Probably you can delegate this to a script. What about something like this: sshpass -f secrets.file ssh-copy-id user@host?

I don't remember the exact syntax. Please see sshpass and ssh-copy-id for details.

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help