I’m having some trouble getting two different SSH keys/GitHub accounts to play well together. I have the following setup:
Repos accessible from one account using git@github.com:accountname
Repos accessible from another account using git@github.com:anotheraccount
Each account has its own SSH key. Both SSH keys have been added and I have created a config file. I don’t believe the config file is correct though. I’m not quite sure how to specify that repos accessed using git@github.com:accountname
should use id_rsa
and git@github.com:anotheraccount
should use id_rsa_anotheraccount
.