Host host.com HostName host.com User git IdentityFile ~/.ssh/id_rsa_host_git Host host.com HostName host.com User ubuntu IdentityFile ~/.ssh/id_rsa_host You may use: IdentityFile D:\Private\id_rsa_host