Both TortoiseHg (
ssh = "C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 -C -batch entry in
mercurial.ini) and TortoiseGit (
GIT_SSH environment variable set to
C:\Program Files\TortoiseGit\bin\TortoisePlink.exe) are configured to use PuTTy's plink (command-line interface to the PuTTY back ends) versions distributed with them.
I have Pageant (PuTTy authentification client) running and proper ssh key loaded. However any
git command results in error dialog titled PuTTY Fatal Error being displayed with the message:
Disconnected: No supported authentication methods available. (server sent:publickey)
At the same time using original plink.exe provided with PuTTy works.
Why doesn't TortoisePlink work?