title: GIT remote cannot fetch via SSH
body: <p>I've just initialized a GIT repo in an existing website root.
  I have a local development copy of this site, which is already a GIT repo. I can't just clone one from the other, as the local/live versions have fallen out of sync over the years.</p>
  
  <p>I'm trying to get them lined back up with GIT again, but I want to be able to do a <strong>fetch</strong> on the live site and run <strong>git diff</strong></p>
  
  <p>My problem is, on the local site I've added the live site as a remote repo:</p>
  
  <pre><code>git remote add live user@server.co.uk:/path/to/repo
  </code></pre>
  
  <p>I can successfully log in via ssh to my server:</p>
  
  <pre><code>ssh user@server.co.uk
  </code></pre>
  
  <p>But when I try to fetch, and type in the ssh password, the command line just returns the password prompt, as if I've typed it wrong. But I know the password is correct, as I can use SSH to log in.</p>
  
  <p>Do I have to specify <strong>ssh://</strong> before my remote URL? Is there something I have to do to get ssh remote repos working</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've added the <strong>ssh://</strong> prefix, but it's made no difference. This is how it looks in .git/config</p>
  
  <pre><code>[remote "live"]
      url = ssh://user@server.co.uk/path/to/repo
      fetch = +refs/heads/*:refs/remotes/live/*
  </code></pre>
  
  <p>Running <strong>GIT_TRACE=true git fetch live</strong> adds in the lines:</p>
  
  <pre><code>trace: run_command 'ssh' 'user@server.co.uk' 'git-upload-pack '\''/path/to/repo'\'''
  </code></pre>
  
  <p>I have to type the password in 3 times before I get the message:</p>
  
  <pre><code>fatal: the remote end hung up unexpectedly
  </code></pre>