Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 08:39:13 -0800 (PST)
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-stable@FreeBSD.ORG, joe.halpin@attbi.com
Subject:   Re: System trying to start sshd twice
Message-ID:  <200201011639.g01GdDA42886@bunrab.catwhisker.org>
In-Reply-To: <3C31E06B.6300D48F@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Tue, 01 Jan 2002 10:14:35 -0600
>From: Joe Halpin <joe.halpin@attbi.com>

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201011639.g01GdDA42886>