Skip to content

Instantly share code, notes, and snippets.

@dozyc
dozyc / config
Created October 1, 2018 21:41
How to use different id_rsa for same github repo
# for ~/.ssh/config
# each of these can be set up as different remotes for a git repo:
# set up the git remote as git@github-as-idx:<repo>
host github-as-id1
HostName github.com
IdentityFile ~/.ssh/id_rsa_1
User git
host github-as-id2