From owner-freebsd-questions@FreeBSD.ORG Mon Feb 26 19:57:13 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 A56C716A404 for ; Mon, 26 Feb 2007 19:57:13 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0793313C46B for ; Mon, 26 Feb 2007 19:57:12 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l1QJuOdR002378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 26 Feb 2007 21:56:30 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l1QJu4CP017157; Mon, 26 Feb 2007 21:56:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l1QJu4YP017156; Mon, 26 Feb 2007 21:56:04 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 26 Feb 2007 21:56:03 +0200 From: Giorgos Keramidas To: Derek Ragona Message-ID: <20070226195603.GB17029@kobe.laptop> References: <45E32743.2010405@enabled.com> <6.0.0.22.2.20070226130607.024c0508@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20070226130607.024c0508@mail.computinginnovations.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.504, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.69, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Noah , User Questions 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:57:13 -0000 On 2007-02-26 13:06, Derek Ragona wrote: > The errors you are getting is indicative that sshd is already running. > Try doing: > > ps -ax|grep named You mean "grep sshd" right? :) A slightly more complex command, which gives nicer output is: $ ps xau -p $(echo $(pgrep 'ssh') | sed -e 's/ /,/g') Replace 'ssh' with any other string, and enjoy :)