From owner-freebsd-questions Tue Aug 20 7:16:57 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 E4A1937B400 for ; Tue, 20 Aug 2002 07:16:53 -0700 (PDT) Received: from spin.web.net (spin.web.net [192.139.37.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E33743E65 for ; Tue, 20 Aug 2002 07:16:53 -0700 (PDT) (envelope-from rob@web.net) Received: by spin.web.net (Postfix, from userid 1000) id F0CFC12E466; Tue, 20 Aug 2002 10:16:32 -0400 (EDT) Date: Tue, 20 Aug 2002 10:16:32 -0400 From: Rob Ellis To: freebsd-questions@FreeBSD.ORG Subject: Re: Strange SSH publickey behaviour Message-ID: <20020820141632.GA23002@web.ca> Mail-Followup-To: Rob Ellis , freebsd-questions@FreeBSD.ORG References: <20020820133729.GD16083@happy-idiot-talk.infracaninophi> <20020820150143.J2629-100000@pan.ehsbrann.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020820150143.J2629-100000@pan.ehsbrann.com> User-Agent: Mutt/1.3.28i 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 have you tried 'ssh -v ...' -- it will usually tell you what it doesn't like. - rob On Tue, Aug 20, 2002 at 03:11:58PM +0100, Byron Schlemmer wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message