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

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.