Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] ssh-add: Could not open a connection to your authentication
agent.

Eric Martin

2008-04-16

Replies: Find Java Web Hosting

Author LoginPost Reply
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Schmarck wrote:
> Hello.
>
> Since this morning, I find that I can no longer add SSH keys to the
> ssh key agent. I'm using Gnome 2.22, so I think seahorse would be
> used instead.
>
> --($:~)-- ssh-add
> Could not open a connection to your authentication agent.
>
> No good :(
>
> Per man ssh-add(1):
>
>    The authentication agent must be running and the SSH_AUTH_SOCK environ‐
>    ment variable must contain the name of its socket for ssh-add to work.
>
> --($:~)-- echo $SSH_AUTH_SOCK
> /tmp/keyring-L12w0n/ssh
>
> --($:~)-- ps awux | grep keyri
> mike    8073 0.0 0.2 16216 2632 ?     SL  07:18  0:00 /usr/bin/gnome-keyring-daemon --foreground --components=keyring
>
> --($:~)-- ps awux | grep seah
> mike    6631 0.0 1.8 36876 16776 ?     Ss  07:14  0:00 /usr/bin/seahorse-agent --execute gnome-session

<snip>
>
> Anyone else having problems with ssh-add?
>
> Best regards,
> Michael
>

Is ssh-agent running? What does

ps -aux | grep ssh

show? Also,

env | grep SSH

ought to show a bunch of ssh-agent stuff.

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBeF6aiVxdKlBO58RAgyVAJ4rQq1pBayt0HS5Q6u094EZevYQuACeKnwv
AuIOYq5kJIrtQtjRFanImC8=
=9FkO
-----END PGP SIGNATURE-----
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.