Last active
July 4, 2017 04:01
-
-
Save cfsanderson/f4910c05db43564ed48907ffe8108429 to your computer and use it in GitHub Desktop.
Install/generate new SSH 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
# generate new keys | |
echo "===== after keygen, press enter to leave in default folder =====" | |
echo "===== go to 'GitHub-settings-SSH and GPG keys' and delete old SSH key and click on 'New SSH Key' button. =====" | |
echo "===== 'pbcopy < ~/.ssh/id_rsa.pub' to copy the contents of rsa.pub and paste into Github =====" | |
echo "===== Next Step: Install software from the web and fix all those settings! =====" | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment