[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 njd33@aldred.ncl.ac.uk
> Agent admitted failure to sign using the key.
> njd33@aldred.ncl.ac.uk's password: 
> With my normal user and key, I don't get that failure
> message.

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                                       [cjwatson@debian.org]

Reply to: