How do I prevent “No supported authentication methods available” error when using TortoiseHg?
Symptoms
When trying to clone a Mercurial repository via SSH using TortoiseHg on a Windows machine, a pop-up appears when Fisheye tries to clone the repository, saying "No supported authentication methods available”
Cause
Mercurial is failing to clone a repository because there is no authentication set up with the server.
Resolution
Based on the instructions in How do I prevent a “No supported authentication methods available” error when using TortoiseHg?.
- Download Putty and extract the binaries.
- Run the extracted
puttygen.exe
and generate a public/private key pair. - Save the private and public keys to a file - keep the private key secure, but don't add a passphrase - Note there are security implications with this - possession of this file will allow access to your server.
- Run
pageant.exe
and right-click on the pageant icon in the notification area and add the private key you just saved. You will have to make sure this is always running. - Add the public key to the server in your account. For Bitbucket Cloud, this is here. Other on-line providers should have similar capabilities. For self-hosted servers, talk to your administrator.
Last modified on Nov 30, 2021
Powered by Confluence and Scroll Viewport.