Last active
June 16, 2016 20:38
-
-
Save scott-joe/0729bdea39cd6d0ff0d848ae9a3b7397 to your computer and use it in GitHub Desktop.
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
> kill all ssh-agent entries | |
ssh-add -D | |
> kill all ssh-agent running processes | |
ssh-agent -k | |
> Create new token(s) | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
> Copy for Github | |
pbcopy < ~/.ssh/id_rsa.pub | |
> Test key | |
ssh -T [email protected] | |
> add `config` file to ~/.ssh | |
> add name and email to ~/.gitconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment