You can force git to show the ssh logs by using: add-ssh-key.shCopyGIT_SSH_COMMAND="ssh -v" git clone git@github.com:my-username/my-repository The output will show you which keys ssh tried to use to connect to github.