Gentoo Archives: gentoo-user

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Problem with keychain
Date: Sat, 28 Jul 2007 18:34:39
Message-Id: f8g1sn$l97$1@sea.gmane.org
In Reply to: Re: [gentoo-user] Problem with keychain by Mike Mazur
1 Mike Mazur schrieb:
2 > Hi,
3 >
4 > On 7/28/07, Marc Blumentritt <marc.blumentritt@×××××.de> wrote:
5 >> I have a problem with keychain. It is set up following the wiki. I start
6 >> keychain:
7 >>
8 >> <snip>
9 >>
10 >> Looking with ssh-add, I see my key:
11 >> hive ~ # ssh-add -l
12 >> 1024 dd:f2:12:2a:bc:8a:55:7e:18:43:03:dd:e9:dd:27:4d /root/.ssh/id_dsa (DSA)
13 >>
14 >>
15 >> So what's wrong? Any ideas?
16 >
17 > There are a few things you might want to check first:
18 > -the permissions of the ~/.ssh folder on the remote system should be
19 > 700 (chmod 700 ~/.ssh)
20 > -the public key id_dsa.pub should be appended to ~/.ssh/authorized_hosts
21 > -permissions of ~/.ssh/authorized_hosts should be 600
22
23 This brought me in the right directionen. I created a authorized_keys
24 file, but by mistake I placed it in ~ and not in ~/.ssh/ !
25
26 After putting it in the right place, everything works like a charm!
27
28 Thanks
29 Marc
30
31 --
32 gentoo-user@g.o mailing list