Bug#524018: openssh-client: ssh-agent as started by xsession can't use keys
On Tue, Apr 14, 2009 at 10:00:34AM +0100, Jon Dowland wrote:
> Recently, the ssh-agent instance started by xsession (as
> part of a GNOME desktop login) cannot use my public key,
> nor a newly generated passwordless RSA key.
> After adding a new user, logging into a fresh desktop
> session (no existing $HOME cruft), generating a new RSA key
> with ssh-keygen -t rsa, no passphrase, and using ssh-add to
> inject it into the agent, the following occurs
> test@ra:~$ ssh firstname.lastname@example.org
> Agent admitted failure to sign using the key.
> email@example.com's password:
> With my normal user and key, I don't get that failure
Are you sure that OpenSSH's agent is in fact the one being used here?
GNOME has recently taken to using "seahorse" which has some bugs.
You can tell the difference by typing 'echo $SSH_AUTH_SOCK'. A genuine
OpenSSH agent will be "/tmp/ssh-SOMETHING/agent.PID".
Colin Watson [firstname.lastname@example.org]