no sshd on new server...

Polytropon freebsd at edvax.de
Mon Nov 16 19:31:53 UTC 2009


On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline <kline at 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.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list