How do I prevent “No supported authentication methods available” error when using TortoiseHg?
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”
Mercurial is failing to clone a repository because there is no authentication set up with the server.
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.exeand 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.
pageant.exeand 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.