Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 18:55:31 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        RazorOnFreeBSD <yann.luppo@attglobal.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh Connection refused
Message-ID:  <407B2C73.6000809@daleco.biz>
In-Reply-To: <003201c420b4$758c7d40$0f01a8c0@razor>
References:  <003201c420b4$758c7d40$0f01a8c0@razor>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407B2C73.6000809>