From owner-freebsd-questions Sat Jun 29 3: 8:47 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 115BB37B400 for ; Sat, 29 Jun 2002 03:08:43 -0700 (PDT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E91A43E13 for ; Sat, 29 Jun 2002 03:08:42 -0700 (PDT) (envelope-from scott.mitchell@mail.com) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020629100840.RQNM19225.mta07-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 29 Jun 2002 11:08:40 +0100 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.6) with ESMTP id g5TA8eV14519; Sat, 29 Jun 2002 11:08:40 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.12.3/8.12.3/Submit) id g5TA8dwa006745; Sat, 29 Jun 2002 11:08:39 +0100 (BST) (envelope-from scott) Date: Sat, 29 Jun 2002 11:08:39 +0100 From: Scott Mitchell To: Scott Robbins Cc: Wayne Pascoe , Lord Raiden , freebsd-questions@FreeBSD.ORG Subject: Re: ssh question Message-ID: <20020629110839.A2920@fishballoon.dyndns.org> References: <4.2.0.58.20020626145348.009c1830@pop.netzero.net> <20020628034431.GA3546@scott1.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020628034431.GA3546@scott1.homeunix.net>; from scottro@nyc.rr.com on Thu, Jun 27, 2002 at 10:44:31PM -0500 X-Operating-System: FreeBSD 4.6-STABLE i386 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 Thu, Jun 27, 2002 at 10:44:31PM -0500, Scott Robbins wrote: > Yes, but don't you want it to use the new sshd_config file, that's in > /usr/local/etc/ssh/sshd_config? I did a bit of testing (like renaming > the /etc/ssh/sshd_config file, etc) and it seems that if one adds the > first line you mention, the sshd_program line, and turns off the > enable_sshd="YES" that, and, of course, lastly changing the new > /usr/local/etc/rc.d/sshd.sh.sample to /usr/local/etc/rc.d/sshd.sh that > upon boot, it will boot the /usr/local/ one which will read the > /usr/local/etc/ssh/sshd_config file. Changing sshd_program in rc.conf is redundant -- rc.conf only pays any attention to that if you also have sshd_enable="YES". Setting sshd_enable="NO" (or removing it entirely) and renaming the sshd.sh.sample script should be all you need to do to run the port rather than base system sshd. Of course, don't forget to reboot, or just kill the old sshd and start a new one using the script. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message