title: git clone ssh permission denied
body: <p>I followed the instruction at <a href="https://help.github.com/articles/generating-ssh-keys" rel="noreferrer">https://help.github.com/articles/generating-ssh-keys</a>
  and typing </p>
  
  <pre><code>ssh -T git@github.com
  </code></pre>
  
  <p>I get the message</p>
  
  <pre><code>Hi username! You've successfully authenticated, but GitHub does not
  # provide shell access.
  </code></pre>
  
  <p>When I try to clone a repository using ssh</p>
  
  <pre><code>git clone ssh://github.com/username/repository.git
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>Permission denied (publickey).
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>If I type </p>
  
  <pre><code>ssh-add -l
  </code></pre>
  
  <p>I see 3 keys one attached with my email address (k1) and other 2 inside <code>~/.ssh/id_rsa (RSA)</code> (k2 and k3).
  the key k3 is the same of k1</p>
  
  <p>if I type</p>
  
  <pre><code>ssh -vT git@github.com
  </code></pre>
  
  <p>everything is fine...the only line that makes me thinking is</p>
  
  <pre><code>debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
  debug1: no match: libssh-0.6.0
  </code></pre>