Gentoo Archives: gentoo-user

From: Michael Schmarck <michael.schmarck@×××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: ssh-add: Could not open a connection to your authentication agent.
Date: Wed, 16 Apr 2008 14:11:52
Message-Id: 2015677.aW7XCIf0SD@schmarck.cn
In Reply to: Re: [gentoo-user] Re: ssh-add: Could not open a connection to your authentication agent. by Eric Martin
1 Eric Martin <freak4uxxx@×××××.com> wrote:
2
3
4 > of course I ran eix seahorse *after* hitting reply. Teaches me not to
5 > reply to a message 30 seconds after getting out of bed. Ok, now onto
6 > helpful stuff... does /tmp/keyring-L12w0n/ssh exist?
7
8 Yes. HOWEVER:
9
10 --($:~)-- sudo lsof | grep -i tmp/keyring
11 lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/mike/.gvfs
12 Output information may be incomplete.
13 gnome-key 8073 mike 3u unix 0xe2fd51c0 16680 /tmp/keyring-TEj1nP/socket
14 gnome-key 8073 mike 13u unix 0xe2e8ee00 16783 /tmp/keyring-TEj1nP/socket
15
16 That's strange - there's nothing listening on /tmp/keyring-L12w0n and
17 for sure not on the ssh named pipe in that directroy.
18
19 > Does any other
20 > sort of ssh-agent / seahorse stuff exist in /tmp?
21
22 Yes.
23
24 --($:~)-- ls -la /tmp/keyring-* /tmp/seahorse-BnTrHX/
25 /tmp/keyring-L12w0n:
26 insgesamt 41
27 drwx------ 2 mike users 1024 16. Apr 07:14 .
28 drwxrwxrwt 20 root root 39936 16. Apr 15:50 ..
29 srwxr-xr-x 1 mike users 0 16. Apr 07:14 socket
30 srwxr-xr-x 1 mike users 0 16. Apr 07:14 socket.pkcs11
31 srwxr-xr-x 1 mike users 0 16. Apr 07:14 ssh
32
33 /tmp/keyring-TEj1nP:
34 insgesamt 41
35 drwx------ 2 mike users 1024 16. Apr 07:18 .
36 drwxrwxrwt 20 root root 39936 16. Apr 15:50 ..
37 srwxr-xr-x 1 mike users 0 16. Apr 07:18 socket
38
39 /tmp/seahorse-BnTrHX/:
40 insgesamt 41
41 drwx------ 2 mike users 1024 16. Apr 07:14 .
42 drwxrwxrwt 20 root root 39936 16. Apr 15:50 ..
43 srw------- 1 mike users 0 16. Apr 07:14 S.gpg-agent
44
45 > When running
46 > ssh-agent, I get a pipe called /tmp/ssh-[a-zA-Z0-9]/agent.$pid. After
47 > that I'm out of ideas.
48
49 So there are two that are out of ideas.
50
51 It seems there are two strange things:
52
53 - ssh agent env.var is pointing to the wrong directory.
54 - nothings reading from the ssh pipe in the wrong directory.
55
56 Strange, isn't it?
57
58 BTW: The lsof command I ran was correct, wasn't it? I'd expect
59 that it would've shown a command which had /tmp/keyring/L12w0n/ssh
60 open.
61
62 Michael
63
64 --
65 gentoo-user@l.g.o mailing list

Replies