Categories
Uncategorized

How to change which SSH private key is used for a particular host

Edit ~/.ssh/config


Host git git.mycompany.com

Hostname git.mycompany.com
IdentityFile ~/.ssh/github_rsa