I need to add my public key to authorized_keys in 1000 machines, and going individual to each machine is very tedious.
Is there a way or any tools which help me to type my password once and let me login automatically.
like: for i in $(cat machinelist); do autopassword ssh $i "top"; done
where autopassword is tool which will supply "yes" to host authentication and password to "n-1" host after typing my password only once(first host) ?
Can I have some tool/tick to achieve this environment ?