How do I prevent “No supported authentication methods available” error when using TortoiseHg?

Still need help?

The Atlassian Community is here for you.

Ask the community

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?.

  1. Download Putty and extract the binaries.
  2. Run the extracted puttygen.exe and generate a public/private key pair.
  3. 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.
  4. 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.
  5. 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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.