Gentoo Archives: gentoo-user

From: Eric Martin <freak4uxxx@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssh-add: Could not open a connection to your authentication agent.
Date: Wed, 16 Apr 2008 11:22:41
Message-Id: 4805E17B.9010909@gmail.com
In Reply to: [gentoo-user] ssh-add: Could not open a connection to your authentication agent. by Michael Schmarck
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Michael Schmarck wrote:
5 > Hello.
6 >
7 > Since this morning, I find that I can no longer add SSH keys to the
8 > ssh key agent. I'm using Gnome 2.22, so I think seahorse would be
9 > used instead.
10 >
11 > --($:~)-- ssh-add
12 > Could not open a connection to your authentication agent.
13 >
14 > No good :(
15 >
16 > Per man ssh-add(1):
17 >
18 > The authentication agent must be running and the SSH_AUTH_SOCK environ‐
19 > ment variable must contain the name of its socket for ssh-add to work.
20 >
21 > --($:~)-- echo $SSH_AUTH_SOCK
22 > /tmp/keyring-L12w0n/ssh
23 >
24 > --($:~)-- ps awux | grep keyri
25 > mike 8073 0.0 0.2 16216 2632 ? SL 07:18 0:00 /usr/bin/gnome-keyring-daemon --foreground --components=keyring
26 >
27 > --($:~)-- ps awux | grep seah
28 > mike 6631 0.0 1.8 36876 16776 ? Ss 07:14 0:00 /usr/bin/seahorse-agent --execute gnome-session
29
30 <snip>
31 >
32 > Anyone else having problems with ssh-add?
33 >
34 > Best regards,
35 > Michael
36 >
37
38 Is ssh-agent running? What does
39
40 ps -aux | grep ssh
41
42 show? Also,
43
44 env | grep SSH
45
46 ought to show a bunch of ssh-agent stuff.
47
48 - --
49 Eric Martin
50 Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F
51 -----BEGIN PGP SIGNATURE-----
52 Version: GnuPG v2.0.7 (GNU/Linux)
53 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
54
55 iD8DBQFIBeF6aiVxdKlBO58RAgyVAJ4rQq1pBayt0HS5Q6u094EZevYQuACeKnwv
56 AuIOYq5kJIrtQtjRFanImC8=
57 =9FkO
58 -----END PGP SIGNATURE-----
59 --
60 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: ssh-add: Could not open a connection to your authentication agent. Michael Schmarck <michael.schmarck@×××××××××××××.de>