git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Reg:Git-ssh bug

From
Jeff King <peff@peff.net>
Date
Aug 24, 2012, 09:22 UTC
Message-ID
<20120824092244.GA12416@sigill.intra.peff.net>
In-Reply-To
<02C1EA56-2145-4FD5-9FD2-377514C12704@umail.iu.edu>
On Thu, Aug 23, 2012 at 06:22:01PM -0400, Gokulramkumar Subramaniam wrote:
Show 18 quoted lines
> 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
Previous: Gokulramkumar Subramaniam
Message 2 of 2 in “Reg:Git-ssh bug”
  1. Gokulramkumar SubramaniamAug 23, 2012
  2. Jeff KingAug 24, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.