Date: Mon, 12 Apr 2004 21:19:29 -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: <407B4E31.3070502@daleco.biz> In-Reply-To: <004d01c420b8$e98d7650$0f01a8c0@razor> References: <003201c420b4$758c7d40$0f01a8c0@razor> <407B2C73.6000809@daleco.biz> <004d01c420b8$e98d7650$0f01a8c0@razor>
next in thread | previous in thread | raw e-mail | index | archive | help
RazorOnFreeBSD wrote: >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). > >??????? > > > Two processes? Please note that one process is the "grep" command. Sshd does appear to be running, though. You didn't give us the output of "ipfw show", so we don't know if the port is being blocked; it seems like that it is, since you are being told "connection refused." "Connection refused" means the port is closed, either because nothing is listening on that port, or because the firewall is blocking it... How about "netstat -anf inet" ? It should show a LISTENING socket on port 22 for ssh.... Kevin Kinsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407B4E31.3070502>