From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iacl1-0005CK-2q for garchives@archives.gentoo.org; Wed, 26 Sep 2007 19:41:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l8QJTgEh022974; Wed, 26 Sep 2007 19:29:42 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l8QJHScH004634 for ; Wed, 26 Sep 2007 19:17:30 GMT Received: by nf-out-0910.google.com with SMTP id f5so1866807nfh for ; Wed, 26 Sep 2007 12:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; bh=MU55dSF1K7g2N7TbCxKLoBi8I+66qRcxe8EQsDYS/bI=; b=Q4kMlJ/0tscblK1GoL4Q3qdX0A9HwfA7MH4DJLPjJiRF59wks8pZa8eBkeLm2VkwoJsxbaVT9F9/1Os1rj3e4T5AIQxyu4XdNC1SSwXY/Da1xXoMWBaEYLH33qTlbrN3EBqGRdriKUIpaEoEpq49ObsXtxaBCiAptf6apbL1qTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=SSINKWz0ul8MPhsurXIvO44hQTTbbiVYIdiPl4OVlAIbKaLu7omo8yGEl0RUoSftxEr7vzAJcBGqczx8i28gWE79i/9HrDEqWIHPsIDf2hPIZHKGnEWgog9Y6MJ83NRvDPToIdspXuA1KdHvZ2ywn//jW9995lANN6ekDRAL3X8= Received: by 10.78.138.6 with SMTP id l6mr1074223hud.1190834250347; Wed, 26 Sep 2007 12:17:30 -0700 (PDT) Received: from lappy.study ( [213.162.120.196]) by mx.google.com with ESMTPS id 34sm974724nfu.2007.09.26.12.17.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Sep 2007 12:17:29 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No access as normal user to my own.ssh-folder Date: Wed, 26 Sep 2007 20:16:22 +0100 User-Agent: KMail/1.9.7 References: <200709262059.55553.laubner@gmx.net> In-Reply-To: <200709262059.55553.laubner@gmx.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2092276.kdt10UiIHc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200709262016.31870.michaelkintzios@gmail.com> X-Archives-Salt: 454e99d8-1e91-4cf4-b1e2-f40bf23d0b19 X-Archives-Hash: 59d7ff767b30f5c1407c3150b2c41ce5 --nextPart2092276.kdt10UiIHc Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 26 September 2007, Herbert Laubner wrote: > I want to connect to another machine in my local network using ssh. Someh= ow > I do not get it managed to write the fingerprint to the .ssh/known_hosts > because of missing rights. > > herbert@windose ~ $ ssh 192.168.0.50 > The authenticity of host '192.168.0.50 (192.168.0.50)' can't be > established. RSA key fingerprint is > c5:1f:98:93:f3:30:01:b1:95:3e:30:40:47:ef:97:35. Are you sure you want to > continue connecting (yes/no)? yes > Failed to add the host to the list of known hosts > (/home/herbert/.ssh/known_hosts). > Password: > Last login: Wed Sep 26 20:37:42 2007 from 192.168.0.20 > Welcome to Darwin! > rlbk-hmbg-de01:~ herbert$ exit > logout > Connection to 192.168.0.50 closed. > > herbert@windose ~ $ ls -al /home/herbert/.ssh/ > ls: Zugriff auf /home/herbert/.ssh/. nicht m=F6glich: Keine Berechtigung > ls: Zugriff auf /home/herbert/.ssh/known_hosts nicht m=F6glich: Keine > Berechtigung > ls: Zugriff auf /home/herbert/.ssh/.. nicht m=F6glich: Keine Berechtigung > insgesamt 0 > d????????? ? ? ? ? ? . > d????????? ? ? ? ? ? .. > d????????? ? ? ? ? ? known_hosts > > I think, it has to be a stupid mistake. I did > windose ~ # chown herbert /home/herbert/.ssh > windose ~ # chgrp users /home/herbert/.ssh > > but this did not help?? I cannot see what your access rights are (all I got was "?" as shown above)= =2E =20 Add -r to chgrp to recursively change the files under it. Finally, if the= =20 character "d" is correct for directory, then your known_hosts is not a file= =20 as it should be, but perhaps by mistake you created it as a directory and=20 have not adapted your ssh_config, or ~/.ssh/config to reflect that. HTH. =2D-=20 Regards, Mick --nextPart2092276.kdt10UiIHc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG+rAI5Fp0QerLYPcRAlp8AKCcZG4FIk4vuWmatG4YYbVw4g/6AwCffFDd p1eTrHejp3rufx+NI6J80OU= =9zT8 -----END PGP SIGNATURE----- --nextPart2092276.kdt10UiIHc-- -- gentoo-user@gentoo.org mailing list