Tortoise HG and SSH

JonnyDee jonny.dee.1 at googlemail.com
Fri Feb 19 19:51:59 UTC 2010


On Feb 19, 8:30 am, mdemo <element-skateboa... at gmx.at> wrote:
> Hi again,
>
> we use SSH for our global repository communication. My SSH keys I generated
> with Puttygen and got a public and private key. The public key was
> registered on the server by the administrator. Now I will make a clone over
> SSH but run into several problems.
>
> I searched a lot on google and found some ressources, includinghttp://www.codza.com/mercurial-with-ssh-setup-on-windows. I follow the steps
> described on the blog, but Tortoise still asks me for a password.
>
> I modified my Mercurial.ini in my Home directory. I add the SSH extension
> and tried it with plink and TortoisePlink.
>
> [ui]
> ssh = plink.exe -ssh -i "C:/Dokumente und
> Einstellungen/<USER>/MyPrivateKey.ppk"
>
> If I want to clone, Tortoise still asks me for a password???
>
> What is wrong? Any hints?
> thank you for your feedback

I had the same issue and tried everything, but nothing helped. Until I
had the idea to remove all settings stored in the PuTTY client. For
some reason, sometimes TortoiseHG (or plink.exe respectively) uses
settings stored in PuTTY and if the used setting has another user
authentication fails.

So try to remove all PuTTY configurations (and don't forget the
default configuration, too) and retry cloning with TortoiseHG.

HTH,
Jonny



More information about the Mercurial mailing list