Include private_config # Inside ~/.ssh/ AddKeysToAgent yes Host github.com HostName github.com IdentityFile ~/.ssh/shared_rsa User git Host gitlab.com HostName gitlab.com IdentityFile ~/.ssh/shared_rsa User git Host git.sr.ht HostName git.sr.ht IdentityFile ~/.ssh/shared_rsa User git