I'm trying to set up password-less login with ssh on Ubuntu Server, but I keep getting:

Agent admitted failure to sign using the key

and prompt for password.

I have generated new rsa keys. Before the system reboot it worked just fine.

All the links lead me to this bug, but nothing works. SSH Agent is still not running.

How to fix that? Maybe the files need specific permissions?

link|improve this question

feedback

4 Answers

up vote 5 down vote accepted

This problem involves two machines. WHich was re-booted? ssh-add will only add the key on the client. If the key isn't accepted, there isn't a client error and a server error will only show up if the -v option is used when ssh is invoked on the client, to request the connection.

I suppose its possible too that Ubuntu the package has, for some unknown reason, altered the error message shown. It isn't an error issued by openSSH-server, as it is used in Debian (or anywhere else I've seen it, e.g. RHEL, CentOS, Knoppix, others).

link|improve this answer
feedback

just run:

ssh-add

on the client (your pc)

link|improve this answer
feedback

My problem was resolved by executing export SSH_AUTH_SOCK=0, as explained in ssh Agent admitted failure to sign using the key on big endian machines on the Ubuntu bug tracker.

link|improve this answer
feedback

If you get the error:

Could not open a connection to your authentication agent.

then, you will need to open a terminal to run the command.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.