From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:31:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03131106568B for ; Mon, 16 Nov 2009 19:31:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B67068FC1D for ; Mon, 16 Nov 2009 19:31:52 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 03C463D689; Mon, 16 Nov 2009 20:31:49 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAGJVnBQ002259; Mon, 16 Nov 2009 20:31:49 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 20:31:49 +0100 From: Polytropon To: Gary Kline 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:31:53 -0000 On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline 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, ...