[Windows Bash] Git in bash ignores SSH key

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

 

 

Leave a Reply

Your email address will not be published.