From owner-freebsd-questions Thu Feb 28 13: 9:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 3BE9A37B420 for ; Thu, 28 Feb 2002 13:09:18 -0800 (PST) Received: from boredom (dickie.ST.HMC.Edu [134.173.59.94]) by odin.ac.hmc.edu (8.11.0/8.11.0) with SMTP id g1SL9H832747; Thu, 28 Feb 2002 13:09:17 -0800 Message-ID: <000801c1c09c$002bdbb0$5e3bad86@boredom> From: "Jeff Jirsa" To: "Denny White" Cc: References: <20020228141555.I775-100000@mobile2.cableone.net> Subject: Re: sshd bind to port 22 fails Date: Thu, 28 Feb 2002 13:07:59 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 > I meant /etc/rc.conf. I'm not sharp > enough on this stuff yet to realize > at 1st that it does come in the system > by default & I had installed the newer > package too when I did the system install. > Looks like I've done it bassackwards too, > again. I disabled it in rc.conf, > commented out in sshd_config where it > binded to the local ip, & now it just > starts from the startup script in rc.d. > I do a ntpdate_enable in rc.conf & below > it ntpdate_flags="bitsy.mit.edu", so I > guess for sshd you would put a line like > sshd_enable="/usr/local/sbin/sshd", right? > I'll try it anyway. Thanks for the help > too. Well, if you're starting it in your (/usr/local/etc/rc.d/) startup script directory, you dont really need to modify your rc.conf files. Although, IF you wanted to, you'd do it like this: [1:04pm] root (/home/jeff) # grep -ir sshd /etc/defaults/rc.conf sshd_enable="YES" # Enable sshd or NO sshd_program="/usr/local/sbin/sshd" # path to sshd, if you want a different one. sshd_flags="" # Additional flags for sshd. - Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message