Created
November 3, 2015 05:45
-
-
Save MooxxNew/78469cd367f2d7c8324c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for i in $(seq 30 60); do | |
| echo "yes \n" | sshpass -p "password" ssh-copy-id -i /home/ubuntu/.ssh/id_rsa.pub node-"$i" | |
| done |
Author
MooxxNew
commented
Jun 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment