From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 05:16:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5CB7A16A420 for ; Thu, 2 Feb 2006 05:16:16 +0000 (GMT) (envelope-from davidbryce@fastmail.fm) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F5043D46 for ; Thu, 2 Feb 2006 05:16:15 +0000 (GMT) (envelope-from davidbryce@fastmail.fm) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 575A9D3385B; Thu, 2 Feb 2006 00:16:06 -0500 (EST) Received: from web2.messagingengine.com ([10.202.2.211]) by frontend1.internal (MEProxy); Thu, 02 Feb 2006 00:16:06 -0500 Received: by web2.messagingengine.com (Postfix, from userid 99) id 193CD10886; Thu, 2 Feb 2006 00:16:06 -0500 (EST) Message-Id: <1138857366.31138.253348990@webmail.messagingengine.com> X-Sasl-Enc: /zxRyGw+Ya0Ez42hTn5ifIJrEEOWj/dekfyl9DBh7uuo 1138857366 From: "david bryce" To: "Clayton Scott Kern" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 5022 (F2.73; T1.15; A1.64; B3.05; Q3.03) References: <1138851222.22515.253344145@webmail.messagingengine.com> <1138851479.22819.253344183@webmail.messagingengine.com> <20060202042447.GA15215@reddwarf.local> In-Reply-To: <20060202042447.GA15215@reddwarf.local> Date: Thu, 02 Feb 2006 16:16:06 +1100 Cc: freebsd-questions@freebsd.org Subject: Re: Attention: Garrett Cooper (Was: SSH with Public Key Authentication) 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: Thu, 02 Feb 2006 05:16:16 -0000 On Wed, 1 Feb 2006 23:24:47 -0500, "Clayton Scott Kern" >=20 > What's the permissions for the .ssh directory. I had problems in the > past if it's not 700. There was an entry in /var/log/messages or its > equivalent, stating as such. >=20 > This would come up on new systems, because I usually had to create the > .ssh directory and the umask would cause it to have 755. >=20 > --=20 > Clayton Scott Kern > ckern1@twcny.rr.com The software stated it required > UNIX System Administrator Microsoft Windows 2000 or higher, > FreeBSD, Linux, Solaris & so I installed FreeBSD. > HP-UX Thanks, Clayton! It looks like someone has installed the ssh2 package on this machine (using "pkg_add -r ssh2"). So this is not a standard freebsd ssh installation. In fact, testing on another box with freebsd 6, I can connect with Putty using public key authentication. Does anyone know how to get the standard ssh to work on this machine without upsetting things too much? It is currently running a mail server and cvs, so I'm ginger about doing anything radical on it. Doing a ps -ax shows that it's sshd2 that is running, and not sshd. But the binaries ARE there for sshd. Except the=20 hostkey doesn't seem to be there. Could fixing this be as simple=20 as creating a hostkey for sshd as well, and running it on a=20 different port than sshd2 is running on? Thank you! Regards, DB --=20 david bryce davidbryce@fastmail.fm --=20 http://www.fastmail.fm - And now for something completely different=85