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

next in thread | previous in thread | raw e-mail | index | archive | help
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." <kdk@daleco.biz>
To: "RazorOnFreeBSD" <yann.luppo@attglobal.net>
Cc: <freebsd-questions@freebsd.org>
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"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004d01c420b8$e98d7650$0f01a8c0>