Why does TortoisePlink.exe show "No supported authentication methods available" where plink.exe works fine?

11,443

There is a problem with 64-bit TortoiseSVN working with 32-bit pageant. Either use 32-bit TortoiseSVN (IMO there is no real need for it to be 64-bit). Unofficially, the devs only supply 32-bit binaries. A 64-bit build of PuTTY is available here.

It seems that the TortoiseSVN devs put the blame on PuTTY...

Share:
11,443

Related videos on Youtube

Piotr Dobrogost
Author by

Piotr Dobrogost

se2021 at p.dobrogost.net

Updated on September 18, 2022

Comments

  • Piotr Dobrogost
    Piotr Dobrogost almost 2 years

    I have both TortoiseHg 2.3 64 bit and TortoiseGit 1.7.7 64 bit installed on Vista 64 bit.

    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 hg or 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?

    • billc.cn
      billc.cn over 12 years
      It seems the authors of Tortoise* used a modified plink to show you a password prompt and in the process may have made it incompatible with other methods of authentication. Could you point the configuration files to the original plink and see what happens?
    • Piotr Dobrogost
      Piotr Dobrogost over 12 years
      Setting the original plink in configuration files solves the problem but I'm curious why branded versions do not work. Especially since I remember that the one from hg used to work in the past.
    • Lazy Badger
      Lazy Badger over 12 years
      @billc.cn - TortoisePlink have only modal windows on disconnect removed
    • Lazy Badger
      Lazy Badger over 12 years
      Have you tried to remove all and any command-line parameters for Mercurial (maybe only adding -v is good idea)
    • Piotr Dobrogost
      Piotr Dobrogost over 12 years
      @LazyBadger What parameters do You have in mind?
    • Lazy Badger
      Lazy Badger over 12 years
      With ssh = "c:\Program Files\_Tools\TortoiseHg\TortoisePlink.exe" only I work with my Pageant (x32, if it matter)
    • Drahakar
      Drahakar about 12 years
      Are you sure that you added your private key to Pageant?