Date: Mon, 26 Feb 2007 13:32:42 -0600 From: Eric <heli@mikestammer.com> To: "Peter A. Giessel" <pgiessel@mac.com> Cc: Giorgos Keramidas <keramida@ceid.upatras.gr>, Noah <admin2@enabled.com>, freebsd-questions@freebsd.org Subject: Re: sshd attempting to start twice? Message-ID: <45E335DA.8030104@mikestammer.com> In-Reply-To: <45E334F0.50907@mac.com> References: <45E32743.2010405@enabled.com> <20070226190721.GA7434@kobe.laptop> <45E334F0.50907@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter A. Giessel wrote: > On 2007/02/26 10:07, Giorgos Keramidas seems to have typed: >> On 2007-02-26 10:30, Noah <admin2@enabled.com> wrote: >>> sshd_enable="YES" >>> sshd_program="/usr/local/sbin/sshd" > > [snip] > >>> inetd_enable="YES" > > [snip] > >> I see you have switched the `rc.conf' path of sshd to point to the >> version of sshd in `/usr/local/sbin'. Make sure that you don't have >> *both* this setting *and* an executable script in /usr/local/etc/rc.d :-) > > You might also want to check that you don't have it enabled in both > inetd.conf and in rc.conf. If inetd is trying to start it and rc.conf > is trying to start it as well, that would explain your errors. if you installed openssh port, i think the preferred way is to start it like this: # disable built in SSH and enable SSH_portable sshd_enable="NO" openssh_enable="YES" that way the built in sshd is not used (startup script in /etc/rc.d) and the openssh version is used (from /usr/local/etc/rc.d) Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E335DA.8030104>