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