title: Git SSH setup Permission denied (publickey)
body: <p>I'm using a VWWare image of Ubuntu 8.04 and experiencing problems while setting up git access over SSH</p>
  
  <p>I get the following output</p>
  
  <pre><code>debug1: Authentications that can continue: publickey
  debug1: Next authentication method: publickey
  debug1: Offering public key: 
  debug1: Authentications that can continue: publickey
  debug1: Offering public key: 
  debug1: Authentications that can continue: publickey
  debug1: Offering public key: 
  debug1: Authentications that can continue: publickey
  debug1: Offering public key: 
  debug1: Authentications that can continue: publickey
  debug1: Trying private key: /home/jars/.ssh/identity
  debug1: PEM_read_PrivateKey failed
  debug1: read PEM private key done: type &lt;unknown&gt;
  Enter passphrase for key '/home/jars/.ssh/identity': 
  debug1: read PEM private key done: type RSA
  debug1: Authentications that can continue: publickey
  debug1: No more authentication methods to try.
  Permission denied (publickey).
  </code></pre>
  
  <p>I have generated the keys with <code>ssh-keygen -t rsa</code></p>
  
  <p>and renamed them to <code>identity</code> (private) and <code>ida_rsa</code> (public), because initially they wheren't found by <code>ssh</code>.</p>
  
  <p>I also created a config file <a href="http://help.github.com/troubleshooting-ssh/" rel="noreferrer">as depicted here</a>...</p>
  
  <p><a href="http://help.github.com/troubleshooting-ssh/" rel="noreferrer">http://help.github.com/troubleshooting-ssh/</a></p>
  
  <p>Nothing changed. </p>
  
  <p>Am I missing something or is there generally something wrong with using SSH in VMWare?</p>
  
  <p>Regards</p>