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