If you want to debug git-ssh-interaction, just use GIT_TRACE=2 git whatever