Created
December 15, 2020 21:37
-
-
Save zorbax/a87578b73072f1690d222153823b318a 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
| # macOS | |
| cd ~/.ssh | |
| ssh-keygen -f ~/.ssh/id_rsa_github -t rsa -C "[email protected]" | |
| ssh-add ~/.ssh/id_rsa_github | |
| # ssh-add -l | |
| # Add the key to Github | |
| cat ~/.ssh/id_rsa_github.pub | |
| echo " | |
| Host github.com-zorbax | |
| HostName github.com | |
| User git | |
| IdentityFile ~/.ssh/id_rsa_github | |
| " >> ~/.ssh/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment