git Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
<p>I have a public/private rsa key pair. I can connect to remote server with ssh, but when I do <code>git pull origin master</code> I get this error:</p>

<blockquote>
  <p>Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal:
  Could not read from remote repository.</p>
  
  <p>Please make sure you have the correct access rights and the repository
  exists.</p>
</blockquote>

<p>My git client run <code>ubuntu 14.04</code> and my public private key is in the folder <code>$HOME\.ssh</code>.</p>

<p>I tried to do <code>sudo chmod -R 777 folder</code> but without any success.</p>