Cannot connect to git+ssh from Windows
Created originally on Bitbucket by l33t (Robert Mandelson)
I'm trying to clone an git repo over ssh on Windows, and get this error:
hg clone git+ssh://foo@bar.rhcloud.com/~/git/home.git/
destination directory: home.git
["git-upload-pack '/~/git/home.git/'"]
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.6)
** Extensions loaded: mercurial_keyring, color, convert, histedit, largefiles, mq, progress, rebase, hg-git
Traceback (most recent call last):
File "hg", line 42, in <module>
File "mercurial\dispatch.pyo", line 28, in run
File "mercurial\dispatch.pyo", line 65, in dispatch
File "mercurial\dispatch.pyo", line 88, in _runcatch
File "mercurial\dispatch.pyo", line 771, in _dispatch
File "mercurial\dispatch.pyo", line 540, in runcommand
File "mercurial\extensions.pyo", line 188, in wrap
File "hgext\color.pyo", line 405, in colorcmd
File "mercurial\dispatch.pyo", line 866, in _runcommand
File "mercurial\dispatch.pyo", line 837, in checkargs
File "mercurial\dispatch.pyo", line 766, in <lambda>
File "mercurial\util.pyo", line 506, in check
File "mercurial\extensions.pyo", line 143, in wrap
File "mercurial\util.pyo", line 506, in check
File "hgext\largefiles\overrides.pyo", line 786, in overrideclone
File "mercurial\util.pyo", line 506, in check
File "mercurial\commands.pyo", line 1261, in clone
File "mercurial\extensions.pyo", line 188, in wrap
File "hgext\largefiles\overrides.pyo", line 789, in hgclone
File "mercurial\hg.pyo", line 372, in clone
File "mercurial\localrepo.pyo", line 2558, in clone
File "C:\Users\foo/hg/hg-git\hggit\hgrepo.py", line 14, in pull
return git.fetch(remote.path, heads)
File "C:\Users\foo/hg/hg-git\hggit\git_handler.py", line 205, in fetch
refs = self.fetch_pack(remote, heads)
File "C:\Users\foo/hg/hg-git\hggit\git_handler.py", line 1016, in fetch_pack
f.write, progress.progress)
File "dulwich\client.pyo", line 471, in fetch_pack
File "dulwich\client.pyo", line 165, in _read_refs
File "dulwich\protocol.pyo", line 147, in read_pkt_seq
File "dulwich\protocol.pyo", line 104, in read_pkt_line
ValueError: invalid literal for int() with base 16: 'Inva'
Plain git works fine the same machine, and I can connect over Putty. The server is an OpenShift cartidge.
mercurial_keyring is disabled, but the hg-git+ssh (or Pageant?) connection seems to turn it back on.