Last active
August 29, 2015 14:01
-
-
Save likejazz/8d01a5bc81e13f68abae to your computer and use it in GitHub Desktop.
This file contains 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
for i in `seq 1 8` | |
do | |
echo "cat ~/.ssh/id_rsa.pub | ssh account@iaas-hh$i 'cat >> .ssh/authorized_keys'" | |
cat ~/.ssh/id_rsa.pub | ssh account@iaas-hh$i 'cat >> .ssh/authorized_keys' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment