Created
March 25, 2021 09:06
-
-
Save sharkyak/f286f6afb967fcc6f6e2a7f43b693855 to your computer and use it in GitHub Desktop.
github ssh key
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
~/.ssh/config | |
Host gitolite-as-alice | |
HostName git.company.com | |
User git | |
IdentityFile /home/whoever/.ssh/id_rsa.alice | |
IdentitiesOnly yes | |
Host gitolite-as-bob | |
HostName git.company.com | |
User git | |
IdentityFile /home/whoever/.ssh/id_dsa.bob | |
IdentitiesOnly yes | |
git remote add alice git@gitolite-as-alice:whatever.git | |
git remote add bob git@gitolite-as-bob:whatever.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment