up vote 5 down vote favorite
2
share [g+] share [fb]

I'm trying out Mercurial for the first time but am having problems doing a push/pull/clone with a remote server (in this case it's codebasehq.com) when using TortoiseHg.

Here are some steps to reproduce:

  1. Download and install TortoiseHg
  2. Go to directory where I want my repository
  3. Right click -> TortoiseHg -> Clone
  4. Enter ssh://hg@codebasehq.com/accountname/projectname/repositoryshortcode.hg as the source path
  5. Click Clone

Once I've clicked Clone it pops up a error dialogue

"PuTTY Fatal Error" "Disconnected: No supported authentication methods available."

and when returning to the clone dialogue this error is shown:

running ""C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 hg@codebasehq.com "hg -R accountname/projectname/repositoryshortcode.hg serve --stdio"" no suitable response from remote hg

[command interrupted]

What do I need to do to prevent this error and successfully interact with the remote repository?

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

Clocked it. I needed to create an ssh-key pair. To do this I opened puttygen.exe and generated a key. Then I run pageant.exe and added the generated key to its list. The final stage was to log in to codebasehq and add the text of the key (from the box in puttygen labelled 'Public key for pasting...') to my profile.

Hope this helps someone.

(I'm going to accept my own answer but if someone can come up with a more concise answer I'll happily accept yours instead)

link|improve this answer
Pageant.exe not pagaent.exe :D – abral Aug 25 '11 at 23:27
Fixed. Thanks for the spot. – jammus Sep 17 '11 at 15:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.