title: git - Server host key not cached
body: <p>I try to push changes from my local repo to a remote repo. When I type:</p>
  
  <pre><code>git push origin
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>The server's host key is not cached in the registry. You
  have no guarantee that the server is the computer you
  think it is.
  The server's rsa2 key fingerprint is:
  ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
  Connection abandoned.
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>How can I solve this? I'm using git from the command line in Windows 7.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>When I try to do a simple ssh</p>
  
  <pre><code>ssh user@hostname
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>Could not create directory '/c//%HOMEDRIVE%%HOMEPATH%/.ssh'.
  percent_expand: unknown key %H
  </code></pre>
  
  <p>Somehow it will not create the directory, because the path is invalid. How to fix this?</p>
  
  <p>@eckes: <strong>Edit2</strong></p>
  
  <p>My Home is set to <code>%HOMEDRIVE%%HOMEPATH%</code> is this correct?</p>