title: setting up github ssh on windows 7 machine
body: <p>I just installed git on my windows machine using <a href="http://help.github.com/win-set-up-git/" rel="nofollow" >git's how to guide</a>, but I am having a problem. </p>
  
  <p>When I run <code>ssh -T git@github.com</code> step I am getting this error:</p>
  
  <blockquote>
    <p>ssh_exchange_identification: read: Connection reset by peer</p>
  </blockquote>
  
  <p>here is a longer trace that I got by running <code>ssh -vvv git@github.com</code>:</p>
  
  <pre>
  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
  </pre>
  
  <p>Thanks</p>