Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setting up github ssh on windows 7 machine

Tags:

git

github

ssh

I just installed git on my windows machine using git's how to guide, but I am having a problem.

When I run ssh -T [email protected] step I am getting this error:

ssh_exchange_identification: read: Connection reset by peer

here is a longer trace that I got by running ssh -vvv [email protected]:

OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug1: identity file /c/Users/bmehanni/.ssh/identity type -1
debug3: Not a RSA1 key file /c/Users/bmehanni/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /c/Users/bmehanni/.ssh/id_rsa type 1
debug1: identity file /c/Users/bmehanni/.ssh/id_dsa type -1
ssh_exchange_identification: read: Connection reset by peer

Thanks

like image 553
Bassam Mehanni Avatar asked May 29 '26 00:05

Bassam Mehanni


1 Answers

I had the same problem, but never found a way to solve it.

The workaround was to use https instead of ssh.

like image 153
Kevin Berridge Avatar answered May 31 '26 13:05

Kevin Berridge



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!