Re: [Nolug] ports

From: Andrew S. Johnson <andy_at_asjohnson.com>
Date: Mon, 24 Feb 2003 22:21:48 -0600
Message-Id: <200302242221.48653.andy@asjohnson.com>

On Monday 24 February 2003 10:04 pm, Chris Bloch wrote:
> Ron Johnson wrote:
> > On Mon, 2003-02-24 at 19:37, Chris Bloch wrote:
> >
> >>I am trying to set up ssh and vnc into my box, and have configured my
> >>di-604 router/switch to forward ports to my dhcp address inside my
> >>network. How do I go about adding these ports on my linux box? I would
> >>prefer tyhe generic answer, and I have tried to run the sshd program to
> >> see if it opens the port. Any help would be appreciated. I am running
> >>libranet 2.7
> >
> >
> > Don't know exactly what you mean by "add the ports on the linux box".
> > The ports are already there...
> >
> How do I see which services are on inside my box though? How do I know
> if the sshd daemon is running and listening, and on what port?

As root, run netstat -nap. The -p option only works as root, -na works for anyone.

Andy Johnson

___________________
Nolug mailing list
nolug@nolug.org
Received on 02/24/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST