title: git error on push : "fatal: The remote end hung up unexpectedly"
body: <p>I have <strong>dreamhost</strong> account and wanted to host a git repository so I followed the steps <a href="http://wiki.dreamhost.com/Git#Setup_One:_For_the_Impatient" rel="nofollow noreferrer">here</a> .</p>
  
  <p>Here is the what I did:</p>
  
  <p>1 - Installed <strong>tortoisegit</strong> and <strong>msysgit</strong> following the steps <a href="http://dbanck.de/2009/10/08/github-windows-and-tortoisegit-part-1-installing-pulling/" rel="nofollow noreferrer">here</a> (didnt generate a key)</p>
  
  <p>2 - Using <strong>Git Bash</strong> (with username: <em>geryit</em>, host: <em>geryit.net</em>)</p>
  
  <pre><code>ssh-keygen -t rsa
  cat ~/.ssh/id_rsa.pub
  ssh geryit@geryit.net "mkdir ~/.ssh; cat &gt;&gt; ~/.ssh/authorized_keys"
  eval `ssh-agent`
  ssh-add
  </code></pre>
  
  <p>then created my local and remote repositories
  and</p>
  
  <pre><code>git remote add origin ssh://geryit@geryit.net/~/p5.git
  git push origin master
  </code></pre>
  
  <p>then it asks for my <strong>username</strong> and <strong>password</strong> and after I type i got this error:</p>
  
  <p><img src="https://i.stack.imgur.com/UniFe.png" alt="alt text"></p>
  
  <p>I tried assigning private <strong>putty key</strong> to tortoisegit but no luck.
  What am I doing wrong?</p>