Created
July 2, 2014 09:20
-
-
Save joelmoss/ac4b1bd3405c1080d8b8 to your computer and use it in GitHub Desktop.
Alternative 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
| # Create a new SSH keypair with a different name. Eg. `my_alternative_key`, then in your ~/.ssh/config SSH config, add the following. Then you can connect via SSH (and of course Git) using `ssh://git@my_alternative_key:USER/REPO` | |
| Host my_alternative_key | |
| Hostname github.com | |
| IdentityFile /home/MYUSER/.ssh/my_alternative_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment