From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 19:19:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACCBB16A4CE for ; Mon, 12 Apr 2004 19:19:34 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBF343D5E for ; Mon, 12 Apr 2004 19:19:34 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 12 Apr 2004 21:20:17 -0500 Message-ID: <407B4E31.3070502@daleco.biz> Date: Mon, 12 Apr 2004 21:19:29 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: RazorOnFreeBSD References: <003201c420b4$758c7d40$0f01a8c0@razor> <407B2C73.6000809@daleco.biz> <004d01c420b8$e98d7650$0f01a8c0@razor> In-Reply-To: <004d01c420b8$e98d7650$0f01a8c0@razor> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Apr 2004 02:20:17.0828 (UTC) FILETIME=[DCE8DE40:01C420FD] cc: freebsd-questions@freebsd.org Subject: Re: ssh Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 02:19:34 -0000 RazorOnFreeBSD wrote: >I have a firewall and it's running. >But the outputs for the command "ps -auxv | grep sshd" are : > >root 93 0.0 0.4 3008 2176 ?? Is 6:19PM 0:00.16 >/usr/sbin/sshd >root 168 0.0 0.0 336 204 v0 R+ 6:58PM 0:00.01 >grep sshd > >I don't really understand why I have two processes from sshd and also why I >can't connect if it is running (apparently). > >??????? > > > Two processes? Please note that one process is the "grep" command. Sshd does appear to be running, though. You didn't give us the output of "ipfw show", so we don't know if the port is being blocked; it seems like that it is, since you are being told "connection refused." "Connection refused" means the port is closed, either because nothing is listening on that port, or because the firewall is blocking it... How about "netstat -anf inet" ? It should show a LISTENING socket on port 22 for ssh.... Kevin Kinsey