I\'m trying to configure Mercurial for use with both a windows server (freeSSHd) and client (both command line and TortoiseHG). I\'m using the most recent versions of everythin
I ran into this same problem. Not sure how it relates to yours, but this is what worked for me. First, I will explain my set up. I have a repository on my live site mysite.com I have a local repository on my local machine in a folder mysite.com I have other repositories, so I add [ui] settings to /.hg/.hgrc file in each repository folder on my local machine instead of the Mercurial.ini file.
First, if you have already connected via Putty, save the session because Plink can use stored sessions. Use Pageant and add your key. Try running plink from the command line to connect using the stored session. For example, I saved my session as "mysite" in Putty.
C:\>plink mysite
Using username "mysite".
Last login: Fri Feb 26 21:16:05 2010 from ca-xxx-xx-x-xxx.sta.host.net
←]0;mysite@server:~[mysite@server ~]$
If that is working, try the following in your .hgrc file
[path]
default = ssh://mysite@myhost
[ui]
username = RB
ssh=plink.exe -ssh -i mysite
Plink is set in my PATH, and since the mysite session was already stored in Putty, it knows what to look for.
I was trying to do a pull, so I was testing using:
hg pull --debug --traceback
Hope that helps.
Edit: Sorry, saw too late you were using tortoiseHG instead of putty. Hope it helps anyway.