Last active
April 28, 2016 08:12
-
-
Save mrnovalles/6ed262905ac66909c30490083c73ecc6 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
#!/bin/sh | |
echo "List of Github users for pubkey retrieval (space separated):" | |
read users | |
for user in $users; do | |
wget https://github.com/$user.keys -O - >> /home/deploy/.ssh/authorized_keys | |
done | |
chown -R deploy:deploy /home/deploy/.ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment