From owner-freebsd-stable Tue Jan 1 8:39:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 6264D37B41E for ; Tue, 1 Jan 2002 08:39:13 -0800 (PST) Received: (from david@localhost) by bunrab.catwhisker.org (8.11.6/8.11.6) id g01GdDA42886; Tue, 1 Jan 2002 08:39:13 -0800 (PST) (envelope-from david) Date: Tue, 1 Jan 2002 08:39:13 -0800 (PST) From: David Wolfskill Message-Id: <200201011639.g01GdDA42886@bunrab.catwhisker.org> To: freebsd-stable@FreeBSD.ORG, joe.halpin@attbi.com Subject: Re: System trying to start sshd twice In-Reply-To: <3C31E06B.6300D48F@attbi.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Date: Tue, 01 Jan 2002 10:14:35 -0600 >From: Joe Halpin >There is code to start sshd in both /etc/rc and >/usr/local/etc/rc.d/sshd.sh. The former would be for the system-supplied sshd (/usr/sbin/sshd); the latter would likely be intended for an sshd installed from ports. >This doesn't seem to hurt anything, but it results in messages on the >console like this during boot: >Dec 28 09:44:52 fbsd sshd[106]: error: Bind to port 22 on :: failed: >Address already in use. I expect that actually means that the sshd from ports is not running, but the one from /usr/sbin is. >Should sshd be started from /etc/rc or /usr/local/etc/rc.d/sshd.sh? I >assume that it doesn't need to be started from both. It depends on your intent. Were I inclined to assume, I'd expect that if you installed an sshd from ports that you would rather have it run than the system-supplied one. Then again, you might want to run the one from ports on a non-standard port, perhaps for comparison purposes.... Happy New Year, david -- David H. Wolfskill david@catwhisker.org I believe it would be irresponsible (and thus, unethical) for me to advise, recommend, or support the use of any product that is or depends on any Microsoft product for any purpose other than personal amusement. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message