Gentoo Archives: gentoo-user

From: Herbert Laubner <laubner@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] No access as normal user to my own.ssh-folder
Date: Wed, 26 Sep 2007 19:14:14
Message-Id: 200709262059.55553.laubner@gmx.net
1 I want to connect to another machine in my local network using ssh. Somehow I
2 do not get it managed to write the fingerprint to the .ssh/known_hosts
3 because of missing rights.
4
5 herbert@windose ~ $ ssh 192.168.0.50
6 The authenticity of host '192.168.0.50 (192.168.0.50)' can't be established.
7 RSA key fingerprint is c5:1f:98:93:f3:30:01:b1:95:3e:30:40:47:ef:97:35.
8 Are you sure you want to continue connecting (yes/no)? yes
9 Failed to add the host to the list of known hosts
10 (/home/herbert/.ssh/known_hosts).
11 Password:
12 Last login: Wed Sep 26 20:37:42 2007 from 192.168.0.20
13 Welcome to Darwin!
14 rlbk-hmbg-de01:~ herbert$ exit
15 logout
16 Connection to 192.168.0.50 closed.
17
18 herbert@windose ~ $ ls -al /home/herbert/.ssh/
19 ls: Zugriff auf /home/herbert/.ssh/. nicht möglich: Keine Berechtigung
20 ls: Zugriff auf /home/herbert/.ssh/known_hosts nicht möglich: Keine
21 Berechtigung
22 ls: Zugriff auf /home/herbert/.ssh/.. nicht möglich: Keine Berechtigung
23 insgesamt 0
24 d????????? ? ? ? ? ? .
25 d????????? ? ? ? ? ? ..
26 d????????? ? ? ? ? ? known_hosts
27
28 I think, it has to be a stupid mistake. I did
29 windose ~ # chown herbert /home/herbert/.ssh
30 windose ~ # chgrp users /home/herbert/.ssh
31
32 but this did not help??
33
34 Regards
35 Herbert
36 --
37 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] No access as normal user to my own.ssh-folder Elias Probst <mail@×××××××××××.eu>
Re: [gentoo-user] No access as normal user to my own.ssh-folder Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] No access as normal user to my own.ssh-folder Alan McKinnon <alan@××××××××××××××××.za>