I received a new laptop a month ago, configured Git and TortoiseGit, and things were working fine. Until I had to reboot the laptop. I put it to sleep, but some Windows updates required a restart.
After the restart, pull using TortoiseGit throws message in the subject.
Windows 7 + TortoiseGit 2.5
My Git Bash works fine. I can clone, pull, push. No issues.
Reading Disconnected : No supported authentication methods available (server sent :publickey), I've tried many things, including creating .profile, adding keys in Pageant.
I tried to change C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe to ssh.exe but TortoiseGit doesn't allow me to do that. Config field is enabled, and I can type in there, but neither OK nor Apply consume this change. I have gone as far as uninstall and installed on TortoiseGit 2.5 - still no luck.
In my environment, Putty keys are placed on a network drive. I was told to reboot in case there were issues there. I see my network drives just fine, and I have rebooted several times - just in case.
Again, my Git Bash is still working just fine.
Any other things to consider?
Issue: "Disconnected: No supported authentication methods available (server sent publickey)"
Solution:
Right-click the repo folder -> TortoiseGit-> Settings-> Network
Change the SSH client to C:\Program Files\Git\usr\bin\ssh.exe if you installed the Git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With