From owner-freebsd-questions Tue Aug 20 7:12:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5893037B400 for ; Tue, 20 Aug 2002 07:12:49 -0700 (PDT) Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C6A43E70 for ; Tue, 20 Aug 2002 07:12:48 -0700 (PDT) (envelope-from byron.schlemmer@realtime.co.uk) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17h9kP-0004b5-01; Tue, 20 Aug 2002 15:12:41 +0100 Received: from byrons (helo=localhost) by pan.ehsrealtime.com with local-esmtp (Exim 3.35 #1) id 17h9ji-0000h1-00; Tue, 20 Aug 2002 15:11:58 +0100 Date: Tue, 20 Aug 2002 15:11:58 +0100 (BST) From: Byron Schlemmer To: Matthew Seaman Cc: FreeBSD-Questions Subject: Re: Strange SSH publickey behaviour In-Reply-To: <20020820133729.GD16083@happy-idiot-talk.infracaninophi> Message-ID: <20020820150143.J2629-100000@pan.ehsbrann.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 20 Aug 2002, Matthew Seaman wrote: > Check the permissions of your home directory, the ~/.ssh directory and > all the files within it on the troublesome machine. Strip off any > group or world write permissions. Also, if your home dir on that box > is NFS mounted without root access, make sure that the world can read > any files containing *public* key data. > > OpenSSH will ignore an authorized_keys file if it perceives that > someone other than the file's owner or root can modify it, which > includes playing tricks moving directories around higher up the > directory heirarchy. Thanks Matthew but none of the above apply. :) By this I mean my .ssh dir is 700 and the authorized_keys2 is set to 600. And as far as I know that is correct? User and group is set to me. Still looking around. It's driving me nuts. - byron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message