How to sync your keys to your server farm / clusters


you need sshpass and ssh-copy-id , then do;

echo "StrictHostKeyChecking no" >> .ssh/config

echo "UserKnownHostsFile=/dev/null" >> .ssh/config

cat mylistofservers.txt | xargs -P10 -I {} sshpass -p 'mypassword' ssh-copy-id {}


Comments

Popular posts from this blog

Baileys liquor Chocolate Chip and Cream desert

nginx decode base64 url for use with imgproxy

Resol VBUS success