From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 17:06:41 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 ACDE316A4CE for ; Mon, 12 Apr 2004 17:06:41 -0700 (PDT) Received: from prserv.net (asmtp2.prserv.net [32.97.166.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFBD243D45 for ; Mon, 12 Apr 2004 17:06:40 -0700 (PDT) (envelope-from yann.luppo@attglobal.net) Received: from razor (130.wf21.bltm.wswdc01r18.dsl.att.net[12.103.21.130]) by prserv.net (asmtp2) with SMTP id <2004041300061025201h1a7fe> (Authid: yann.luppo@attglobal.net); Tue, 13 Apr 2004 00:06:10 +0000 Message-ID: <004d01c420b8$e98d7650$0f01a8c0@razor> From: "RazorOnFreeBSD" To: "Kevin D. Kinsey, DaleCo, S.P." References: <003201c420b4$758c7d40$0f01a8c0@razor> <407B2C73.6000809@daleco.biz> Date: Mon, 12 Apr 2004 20:06:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 00:06:41 -0000 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). ??????? ----- Original Message ----- From: "Kevin D. Kinsey, DaleCo, S.P." To: "RazorOnFreeBSD" Cc: Sent: Tuesday, April 13, 2004 1:55 AM Subject: Re: ssh Connection refused > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >