title: Git asking for password from command line
body: <p>I setup git and gitosis on a server to manage my repos.  It's working properly for the initial shell account I set it up with, i.e. I can run:</p>
  
  <pre><code>git clone git@MYSERVER:gitosis-admin.git
  </code></pre>
  
  <p>But when I try to use the separate accounts I've created (via gitosis.conf) it keeps asking for a password:</p>
  
  <pre><code>git clone johndoe@MYSERVER:gitosis-admin.git
  </code></pre>
  
  <p>I setup the SSH key and pushed a copy to the keydir on the server.  This question seems to address the same problem, but the solution given is for tortoisegit.</p>
  
  <p><a href="https://stackoverflow.com/questions/3162912/git-keeps-asking-for-password">Git keeps asking for password</a></p>
  
  <p>How do I tell git to use the ssh key instead of asking for a password?</p>