Created
October 4, 2015 06:04
-
-
Save eatgrass/62e023c237b60798b12f to your computer and use it in GitHub Desktop.
ssh config file for muti keypairs
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
#gitlab | |
Host 10.1.1.188 | |
HostName 10.1.1.188 | |
IdentityFile ~/.ssh/id_rsa_gitlab | |
#github | |
Host github.com | |
HostName github.com | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa_github | |
#default: will use id_rsa as private key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment