Created
June 16, 2017 13:11
-
-
Save boina-n/de3a053aa83a13d51f38b5bbfd673f36 to your computer and use it in GitHub Desktop.
How to make git works with a different private key except id_rsa
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
host myrepo | |
HostName 10.10.8.19 | |
IdentityFile ~/.ssh/gitsrv.key | |
User git | |
host myconcourse | |
HostName 10.10.9.28 | |
IdentityFile ~/.ssh/mykey | |
User concourse-user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment