From owner-freebsd-questions@FreeBSD.ORG Sat Oct 30 16:37:27 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C696F1065695 for ; Sat, 30 Oct 2010 16:37:27 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 515658FC08 for ; Sat, 30 Oct 2010 16:37:12 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.3]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101030163711.KOYW7723.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Sat, 30 Oct 2010 17:37:11 +0100 Received: from [86.25.233.137] (helo=laptop.piggybox) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1PCEQZ-0004CE-Pl; Sat, 30 Oct 2010 17:37:11 +0100 Received: from laptop.piggybox (localhost.piggybox [127.0.0.1]) by laptop.piggybox (8.14.4/8.14.3) with ESMTP id o9UGbCw5001590; Sat, 30 Oct 2010 17:37:12 +0100 (BST) (envelope-from peter@laptop.piggybox) Received: (from peter@localhost) by laptop.piggybox (8.14.4/8.14.4/Submit) id o9UGbBfx001589; Sat, 30 Oct 2010 17:37:11 +0100 (BST) (envelope-from peter) Date: Sat, 30 Oct 2010 17:37:11 +0100 From: Peter Harrison To: Chuck Swiger Message-ID: <20101030163711.GB1574@laptop.piggybox> References: <20101028193953.GA6922@laptop.piggybox> <08B016CA-24FA-41CB-8FE3-D4100B58BB15@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08B016CA-24FA-41CB-8FE3-D4100B58BB15@mac.com> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.1 cv=4QByPj+6Iq2k/6L54d+eVKTdgQxdscpRskJJReCfdXo= c=1 sm=0 a=t7WY7uOb184A:10 a=kj9zAlcOel0A:10 a=mhSzg4_j6T1eXamwLU4A:9 a=7vaFEARPv3eyocgiDcWA7LiJKJ0A:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: questions@freebsd.org, Peter Harrison Subject: Re: ssh key authentication problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2010 16:37:27 -0000 On Thu, Oct 28, 2010 at 02:17:14PM -0700, Chuck Swiger wrote: > Hi-- > > On Oct 28, 2010, at 12:39 PM, Peter Harrison wrote: > > debug1: trying public key file /home/peter/.ssh/authorized_keys > > debug1: fd 4 clearing O_NONBLOCK > > debug3: secure_filename: checking '/usr/home/peter/.ssh' > > debug3: secure_filename: checking '/usr/home/peter' > > debug3: secure_filename: terminating check at '/usr/home/peter' > > debug2: key not found > > It's likely that the permissions to the private key are wrong somewhere in the path. Something like "chmod go-w / /usr /usr/home /usr/home/peter /usr/home/peter/.ssh /usr/home/peter/.ssh/id_rsa" is likely to help.... > > Regards, > -- > -Chuck > You were right that there was a permissions problem in there too. It's sorted now, thanks for the assist. Peter Harrison.