From: Jeff King Date: Fri, 24 Aug 2012 09:22:45 GMT Subject: Re: Reg:Git-ssh bug 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: > 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