From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 16:55:39 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 AF50F16A4CE for ; Mon, 12 Apr 2004 16:55:39 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4922943D1D for ; Mon, 12 Apr 2004 16:55:39 -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 18:56:23 -0500 Message-ID: <407B2C73.6000809@daleco.biz> Date: Mon, 12 Apr 2004 18:55:31 -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> In-Reply-To: <003201c420b4$758c7d40$0f01a8c0@razor> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Apr 2004 23:56:23.0875 (UTC) FILETIME=[C2AC3130:01C420E9] 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: Mon, 12 Apr 2004 23:55:39 -0000 RazorOnFreeBSD wrote: >Hi everyone, > >I just had an electricity problem ... my freebsd server >lost the power and shutted down without being requested. >So far everything looks good on the system, except for sshd.... >When the kernel boot up it is one of the daemons started, >it is clearly written. Except that it's not anymore reachable >from another pc. > >Just before this elictricity accident, everything was find >and I could use remotely my freebsd server (thanks to you >guys for the "root" tips), since then I can't even log >with a regular user it says : > >ssh: connect to host 192.168.1.1 port 22: connection refused. > >I really think some file was altered by the electricity problem, but I searched without being successful.... >I'm still learning the all thing about freebsd :/ !!! > >Thanks for your help. > > > So, you have console, we hope? First, make *sure* that sshd is running... $ps -auxv | grep sshd If it isn't, check /etc/rc.conf, it should say: sshd_enable="YES" What about the firewall, do you have one? $ipfw show Kevin Kinsey