On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline <kl...@thought.org> wrote:
>       there were stderrs output when i tried to exec sshd.  reason
>       was that the rc.conf entry was not in rc.conf.  (this is all
>       going into my .howto file....

The rc.d mechanism suggests to use /etc/rc.d/sshd control
script for SSH server operations instead of the "bare"
binary. The control script checks for the variable
${sshd_enable} which has to be set, or it won't start.

By the way, it's not a problem if /etc/rc.conf is empty.
In this case, defaults are used, but:

        % grep sshd /etc/defaults/rc.conf
        sshd_enable="NO"                # Enable sshd

As you see, sshd_enable is set to "NO" by default.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to