From owner-freebsd-questions Fri Mar 1 12:43:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.cableone.net (mail1.cableone.net [24.116.0.51]) by hub.freebsd.org (Postfix) with ESMTP id 19D1437B417 for ; Fri, 1 Mar 2002 12:43:46 -0800 (PST) Received: from mobile2.cableone.net ([24.116.49.212]) by mail1.cableone.net with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 1 Mar 2002 13:43:39 -0700 Date: Fri, 1 Mar 2002 14:43:18 -0600 (CST) From: Denny White To: Jeff Jirsa Cc: Subject: Re: sshd bind to port 22 fails In-Reply-To: <000801c1c09c$002bdbb0$5e3bad86@boredom> Message-ID: <20020301144217.R12864-100000@mobile2.cableone.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Missed this message. Sorry, especially after all the help. All's well now. It's being called from rc.conf with the sshd program path set like you said. Thanks. On Thu, 28 Feb 2002, Jeff Jirsa wrote: > Date: Thu, 28 Feb 2002 13:07:59 -0800 > From: Jeff Jirsa > To: Denny White > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: sshd bind to port 22 fails > > > 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 > Never eat more than you can lift. Miss Piggy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8f+f5y0Ty5RZE55oRAuCOAKDHeJ2y6tmg/K9MPhu3m+SspLvw2wCfWaTw 8AfMYZ4/QQ+eaxLgX4SW+K4= =/2nE -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message