Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: Reg:Git-ssh bug

flat view

From: Jeff King <hidden>
Date: 2016-06-15 22:54:34

On Thu, Aug 23, 2012 at 06:22:01PM -0400, Gokulramkumar Subramaniam wrote:
I am new to Git and I am trying to add my machine with Git but it is failing through ssh method.

Error received:

$ ssh-add -l
2048 5f:6f:39:ed:b0:76:2e:d0:xx:xx:xx:xx:xx:xx:xx:xx id_rsa (RSA)

Gokul$ ssh -vT git@github.com
[...]
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: /Users/Gokul/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/Gokul/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).
That means that the server does not like your public key, typically
because it does not match a keypair that has been uploaded. This is a
GitHub issue, not a Git issue.

Double-check that your key is listed at:

  https://github.com/settings/ssh

and add it there if necessary. If it is still not working, then contact
GitHub support (support@github.com).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help