[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH port 22 is invisible from the internet!! :(

On Tue, Apr 10, 2007 at 08:06:36AM -0400, Roberto C. Sánchez wrote:

> > sudo netstat -lnp | grep ssh
> > 
> > That should show if you have any running ssh processes listening on
> > your server and which IP addresses/port numbers it is listening on.
> > If you haven't already done such a thing, could you let us know the
> > output of that command?
> Yes, I mentioned it in the first reply to the OP.  Personally, my
> favorite incantation is 'netstat -anput'.  That will give you the
> process name as well as the PID with the associated port.

$ sudo netstat -anput | grep ssh
tcp   0   0*   LISTEN   5276/sshd

Regards, Paul Csányi

Reply to: