Problem with git+ssh and github

592 views
Skip to first unread message

Sébastien

unread,
Mar 11, 2012, 5:21:15 AM3/11/12
to hg-git
Hi,

Some month (4 month) ago I used hg-git to commit and push to one of my
github repository. I tried to do the same yesterday and did not
succeed. Here is my background :
* Windows Seven
* TortoiseHG 2.3.1 so Mercurial 2.1.1
* tip version of hg-git from http://bitbucket.org/durin42/hg-git/
* I used pageant for my private key which work for sure

I'll try tonight with a Linux box but I really think there's something
fishy here (maybe on my config).

So my problem is with this command line :

hg clone git+ssh://g...@github.com/vlad59/plugin-blogtng.git --debug
destination directory: plugin-blogtng
calling ssh: "C:\Program Files\TortoiseHg\TortoisePlink.exe"
g...@github.com "git-upload-pack '/vlad59/plugin-blogtng'"
["git-upload-pack '/vlad59/plugin-blogtng'"]
abort: git remote error: The remote server unexpectedly closed the
connection.

I tried to change my url to git+ssh://g...@github.com:vlad59/plugin-
blogtng.git without any success.

If pageant is not started then I got this message : Disconnected : No
supported authentication methods available (server sent: publickey)
and exactly the same output.

I tried git:// git+http:// git+https:// and it's working fine the
problem is just with git+ssh which is required to push (unless I'm
mistaken).

Thanks in advance.

Sébastien

Achim Herwig

unread,
Mar 11, 2012, 2:43:07 PM3/11/12
to hg-...@googlegroups.com
Hi,

did you revalidate your SSH keys with github this week?
They had a security alert and (being very cautious) blocked all keys on all
accounts - one needs to log in and validate the fingerprints.

HTH,
Achim.

Am Sonntag, 11. März 2012 schrieb Sébastien:

> Some month (4 month) ago I used hg-git to commit and push to one of my
> github repository. I tried to do the same yesterday and did not
> succeed. Here is my background :

> abort: git remote error: The remote server unexpectedly closed the
> connection.

--
Achim Herwig <achim....@wodca.de>

signature.asc

Sébastien

unread,
Mar 11, 2012, 4:05:14 PM3/11/12
to hg-git
Yep I found out after trying on Linux and finally having a good error
message.

Thanks anyway for taking the time to answer.
> Achim Herwig <achim.her...@wodca.de>
>
>  signature.asc
> < 1 000AfficherTélécharger
Reply all
Reply to author
Forward
0 new messages