When you using Bash for Windows (MinGW, Installed by git
), with TotoriseGit installed
Sometime ssh
works but git
do not pick-up correct SSH keys.
Causing “No supported authentication methods available”
It is because TotoriseGit has taken over some git/ssh command.
To correctly this, the solution is adding this line to your ~/.bashrc
export GIT_SSH=/bin/ssh.exe