title: Git with putty on windows
body: <p>When attempting to push / pull over ssh, git is failing with the following error:</p>
  
  <pre><code>"C:\Program Files\Git\bin\git.exe" push -u --recurse-submodules=check -progress "testremote" project:project
  Using username "git-receive-pack 'ec2-user".
  FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights and the repository exists.
  Done
  </code></pre>
  
  <p>The remote "testremote" is setup as "ssh://ec2-user@sweeb.net:gittest.git" and I'm using an existing keypair that I have used with PuTTY before without issue.</p>
  
  <p>Pageant is running, with my key loaded.</p>
  
  <p>I think the issue is the line "Using username "git-receive-pack 'ec2-user"." - I assumed git's commands were breaking on windows thanks to the space in "Program Files" so I've tried to surround everything with double quotes, but that doesn't seem to be working. Has anyone seen anything like this before?</p>
  
  <p>Windows vars:</p>
  
  <pre><code>GIT_SSH=C:\PuTTY\plink.exe
  PATH=[...];"C:\Program Files\Git\cmd";"C:\Program Files\Git\libexec\git-core\";"C:\Program Files\Git\bin\"
  </code></pre>