git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Gokulramkumar Subramaniam <goksubra@umail.iu.edu>
Cc: git@vger.kernel.org
Subject: Re: Reg:Git-ssh bug
Date: Fri, 24 Aug 2012 05:22:45 -0400	[thread overview]
Message-ID: <20120824092244.GA12416@sigill.intra.peff.net> (raw)
In-Reply-To: <02C1EA56-2145-4FD5-9FD2-377514C12704@umail.iu.edu>

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

      reply	other threads:[~2012-08-24  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 22:22 Reg:Git-ssh bug Gokulramkumar Subramaniam
2012-08-24  9:22 ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120824092244.GA12416@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=goksubra@umail.iu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).