From owner-freebsd-questions@FreeBSD.ORG Mon Feb 26 20:34:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0986A16A400 for ; Mon, 26 Feb 2007 20:34:23 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id EA41013C428 for ; Mon, 26 Feb 2007 20:34:22 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.0/8.14.0) with ESMTP id l1QKY1lm079187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Feb 2007 12:34:03 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45E3442F.5010907@enabled.com> Date: Mon, 26 Feb 2007 12:33:51 -0800 From: Noah User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: "Peter A. Giessel" References: <45E32743.2010405@enabled.com> <20070226190721.GA7434@kobe.laptop> <45E334F0.50907@mac.com> In-Reply-To: <45E334F0.50907@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: sshd attempting to start twice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 20:34:23 -0000 Peter A. Giessel wrote: > On 2007/02/26 10:07, Giorgos Keramidas seems to have typed: > >> On 2007-02-26 10:30, Noah wrote: >> >>> sshd_enable="YES" >>> sshd_program="/usr/local/sbin/sshd" >>> > > [snip] > > >>> inetd_enable="YES" >>> > > [snip] > > >> I see you have switched the `rc.conf' path of sshd to point to the >> version of sshd in `/usr/local/sbin'. Make sure that you don't have >> *both* this setting *and* an executable script in /usr/local/etc/rc.d :-) >> > > You might also want to check that you don't have it enabled in both > inetd.conf and in rc.conf. If inetd is trying to start it and rc.conf > is trying to start it as well, that would explain your errors. > its commented out # grep ssh /etc/inetd.conf #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6