Last active
August 29, 2015 14:09
-
-
Save adamamyl/43fb1fb4365d0ad00436 to your computer and use it in GitHub Desktop.
Push key files to all oKF machines i can login on
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
adam@aragog:~/projects/okf/okfn-infra/audit$ | |
for H in `awk '/^s/ {print $1}' 11-2014 | sort` | |
do | |
ssh ${H} 'wget http://hendricks.amyl.org.uk/~adam/ssh-keys -O ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment