Created
June 23, 2012 14:55
-
-
Save bendangelo/2978569 to your computer and use it in GitHub Desktop.
Setup SSH Public Key
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
# curl -L https://gist.github.com/raw/2978569 | bash | |
# setup your ssh keys for github | |
echo "Please enter your email: " | |
read email | |
ssh-keygen -t rsa -C "$email" | |
cat ~/.ssh/id_rsa.pub | |
cat ~/.ssh/id_rsa.pub | pbcopy | |
read -p "\n\nYour ssh public key has been copied to your clipboard. Add it to github and press any key to continue" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment