no sshd on new server...

Gary Kline kline at thought.org
Mon Nov 16 23:12:45 UTC 2009


On Mon, Nov 16, 2009 at 08:31:49PM +0100, Polytropon wrote:
> 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.
> 

	darn, but that would've been that last thing i would have
	expected... .  i dont see any rationale... 
> 
> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.31a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list