Skip to content

Ssh login failure

wordpress meta

title: 'Ssh login failure'
date: '2013-01-14T18:18:17-06:00'
status: publish
permalink: /ssh-login-failure
author: admin
excerpt: ''
type: post
id: 202
    - SSH
tag: []
post_format: []

Recently I had a problem logging into a server using ssh. I setup the public key as usual as an authorized key on the server but kept seeing an "Agent admitted failure" message.

$ ssh
Agent admitted failure to sign using the key.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

The fix was to update the ssh-agent as follow:

$ ssh-add
Enter passphrase for /home/rrosso/.ssh/id_rsa:
Identity added: /home/rrosso/.ssh/id_rsa (/home/rrosso/.ssh/id_rsa)

$ ssh
Last login: Mon Jan 14 18:01:31 2013 from