{"id":202,"date":"2013-01-14T18:18:17","date_gmt":"2013-01-15T02:18:17","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=202"},"modified":"2013-01-14T18:25:16","modified_gmt":"2013-01-15T02:25:16","slug":"ssh-login-failure","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/ssh-login-failure\/","title":{"rendered":"Ssh login failure"},"content":{"rendered":"

Recently I had a problem logging into a server using ssh.\u00a0 I setup the public key as usual as an authorized key on the server but kept seeing an \"Agent admitted failure<\/span>\" message.<\/p>\n

\r\n$ ssh server.domain.com\r\nAgent admitted failure to sign using the key.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\n<\/pre>\n

The fix was to update the ssh-agent as follow:<\/strong><\/p>\n

\r\n$ ssh-add\r\nEnter passphrase for \/home\/rrosso\/.ssh\/id_rsa:\r\nIdentity added: \/home\/rrosso\/.ssh\/id_rsa (\/home\/rrosso\/.ssh\/id_rsa)\r\n\r\n$ ssh server.domain.com\r\nLast login: Mon Jan 14 18:01:31 2013 from .hstntx.sbcglobal.net\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

Recently I had a problem logging into a server using ssh.\u00a0 I setup the public key as usual as an<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-ssh"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}