Last active
September 6, 2018 09:00
-
-
Save ak1t0/f5bfe5e4983ac36b70cdf0d6d12c9965 to your computer and use it in GitHub Desktop.
add GitHub SSH key to authorize_keys
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/bash | |
users=("spring-raining" "myr523" "ak1t0") | |
i=0 | |
mkdir ~/.ssh | |
for user in ${users[@]}; do | |
curl -s -S https://github.com/${users[i]}.keys >> ~/.ssh/authorized_keys | |
let i++ | |
done | |
echo "done!!" |
Author
ak1t0
commented
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment