{"thread":{"id":"31336","subject":"Reg:Git-ssh bug","startedAt":"2012-08-23T22:22:01Z","lastAt":"2012-08-24T09:22:45Z","messageCount":2,"participants":["Gokulramkumar Subramaniam","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"197742","messageId":"02C1EA56-2145-4FD5-9FD2-377514C12704@umail.iu.edu","threadId":"31336","inReplyTo":null,"subject":"Reg:Git-ssh bug","fromName":"Gokulramkumar Subramaniam","fromEmail":"goksubra@umail.iu.edu","sentAt":"2012-08-23T22:22:01Z","receivedAt":"2012-08-23T22:22:01Z","isPatch":false,"sender":{"key":"goksubra@umail.iu.edu","avatar":null},"body":"Hi,\n\nI am new to Git and I am trying to add my machine with Git but it is failing through ssh method.\n\nError received:\n\n$ ssh-add -l\n2048 5f:6f:39:ed:b0:76:2e:d0:xx:xx:xx:xx:xx:xx:xx:xx id_rsa (RSA)\n\nGokul$ ssh -vT git@github.com\nOpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011\ndebug1: Reading configuration data /etc/ssh_config\ndebug1: Applying options for *\ndebug1: Connecting to github.com [207.97.227.239] port 22.\ndebug1: Connection established.\ndebug1: identity file /Users/Gokul/.ssh/id_rsa type 1\ndebug1: identity file /Users/Gokul/.ssh/id_rsa-cert type -1\ndebug1: identity file /Users/Gokul/.ssh/id_dsa type -1\ndebug1: identity file /Users/Gokul/.ssh/id_dsa-cert type -1\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze1+github8\ndebug1: match: OpenSSH_5.5p1 Debian-6+squeeze1+github8 pat OpenSSH*\ndebug1: Enabling compatibility mode for protocol 2.0\ndebug1: Local version string SSH-2.0-OpenSSH_5.6\ndebug1: SSH2_MSG_KEXINIT sent\ndebug1: SSH2_MSG_KEXINIT received\ndebug1: kex: server->client aes128-ctr hmac-md5 none\ndebug1: kex: client->server aes128-ctr hmac-md5 none\ndebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP\ndebug1: SSH2_MSG_KEX_DH_GEX_INIT sent\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY\ndebug1: Host 'github.com' is known and matches the RSA host key.\ndebug1: Found key in /Users/Gokul/.ssh/known_hosts:1\ndebug1: ssh_rsa_verify: signature correct\ndebug1: SSH2_MSG_NEWKEYS sent\ndebug1: expecting SSH2_MSG_NEWKEYS\ndebug1: SSH2_MSG_NEWKEYS received\ndebug1: Roaming not allowed by server\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\ndebug1: Authentications that can continue: publickey\ndebug1: Next authentication method: publickey\ndebug1: Offering RSA public key: id_rsa\ndebug1: Authentications that can continue: publickey\ndebug1: Offering RSA public key: /Users/Gokul/.ssh/id_rsa\ndebug1: Authentications that can continue: publickey\ndebug1: Trying private key: /Users/Gokul/.ssh/id_dsa\ndebug1: No more authentication methods to try.\nPermission denied (publickey).\n\nPlease let me know, what I need to follow to get rid of this problem.\n\nRegards,\nGokulramkumar Subramaniam"},{"id":"197756","messageId":"20120824092244.GA12416@sigill.intra.peff.net","threadId":"31336","inReplyTo":"02C1EA56-2145-4FD5-9FD2-377514C12704@umail.iu.edu","subject":"Re: Reg:Git-ssh bug","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-08-24T09:22:45Z","receivedAt":"2012-08-24T09:22:45Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Aug 23, 2012 at 06:22:01PM -0400, Gokulramkumar Subramaniam wrote:\n\n> I am new to Git and I am trying to add my machine with Git but it is failing through ssh method.\n> \n> Error received:\n> \n> $ ssh-add -l\n> 2048 5f:6f:39:ed:b0:76:2e:d0:xx:xx:xx:xx:xx:xx:xx:xx id_rsa (RSA)\n> \n> Gokul$ ssh -vT git@github.com\n> [...]\n> debug1: Authentications that can continue: publickey\n> debug1: Next authentication method: publickey\n> debug1: Offering RSA public key: id_rsa\n> debug1: Authentications that can continue: publickey\n> debug1: Offering RSA public key: /Users/Gokul/.ssh/id_rsa\n> debug1: Authentications that can continue: publickey\n> debug1: Trying private key: /Users/Gokul/.ssh/id_dsa\n> debug1: No more authentication methods to try.\n> Permission denied (publickey).\n\nThat means that the server does not like your public key, typically\nbecause it does not match a keypair that has been uploaded. This is a\nGitHub issue, not a Git issue.\n\nDouble-check that your key is listed at:\n\n  https://github.com/settings/ssh\n\nand add it there if necessary. If it is still not working, then contact\nGitHub support (support@github.com).\n\n-Peff\n"}]}