Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2009 20:31:49 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: no sshd on new server...
Message-ID:  <20091116203149.1785f7c1.freebsd@edvax.de>
In-Reply-To: <20091116070056.GE11539@thought.org>
References:  <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline <kline@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, ...



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