Reputation: 11778
I want to put my public ssh key on hundreds of computers. Usually I just do "ssh-copy-id remoteHost001" and then type in my password. Obviously it's a pain to retype my password a hundred times. What's the easiest way to put my public key on hundreds of computers without wearing my fingers down to nubs?
Upvotes: 0
Views: 223
Reputation: 816
ssh commands don't provide command line parameters for passwords to prevent users from hard-scripting their passwords. You can use this trick or this one to pass the password to the command automatically.
Upvotes: 2