ssh Connection refused

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Mon Apr 12 16:55:39 PDT 2004


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


More information about the freebsd-questions mailing list