Host convenient-name
User username
Hostname full-url.ssh.example.comHost ssh.example.com
IdentityFile ~/.ssh/your_private_key
IdentitiesOnly yesUseful if you want/need to use different keys for different orgs.
Host github-canowyrms
HostName github.com
IdentityFile ~/.ssh/github_canowyrms_rsa
IdentitiesOnly yesThen, set your upstream url to use your host alias. Instead of
git@github.com:Canowyrms/repo.git
use:
git@github-canowyrms:Canowyrms/repo.git