From owner-freebsd-questions@FreeBSD.ORG Mon Feb 26 19:32:52 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 57CC416A401 for ; Mon, 26 Feb 2007 19:32:52 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp109.sbc.mail.re2.yahoo.com (smtp109.sbc.mail.re2.yahoo.com [68.142.229.96]) by mx1.freebsd.org (Postfix) with SMTP id 03A9E13C4A5 for ; Mon, 26 Feb 2007 19:32:51 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: (qmail 12280 invoked from network); 26 Feb 2007 19:32:50 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@70.131.134.207 with login) by smtp109.sbc.mail.re2.yahoo.com with SMTP; 26 Feb 2007 19:32:50 -0000 X-YMail-OSG: GqZip6sVM1lhEph7dkVraYGCmy.Jgy01NJv7XzirbJzi2GUlhk9zALaqZheUm6c3Y16s5XsfV9H9Cm5RbTF8LslETem58JlXXI1MrFGTQbHlO8bZOsaEpKqalT6Tw6EjE_JA79VwC90ngL4- Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 7ABDF1146C; Mon, 26 Feb 2007 13:32:49 -0600 (CST) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k5-1hnXuxg1l; Mon, 26 Feb 2007 13:32:44 -0600 (CST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id 9362A11469; Mon, 26 Feb 2007 13:32:44 -0600 (CST) Message-ID: <45E335DA.8030104@mikestammer.com> Date: Mon, 26 Feb 2007 13:32:42 -0600 From: Eric User-Agent: Thunderbird 2.0b2 (Windows/20070116) 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 , Noah , 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 19:32:52 -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. if you installed openssh port, i think the preferred way is to start it like this: # disable built in SSH and enable SSH_portable sshd_enable="NO" openssh_enable="YES" that way the built in sshd is not used (startup script in /etc/rc.d) and the openssh version is used (from /usr/local/etc/rc.d) Eric