> And while this shows the couple of machines that I've ssh'd TO (remote
> port 22), it doesn't list my sshd which is bound to my local port 22.
> Why is that?

    netstat will list the local service name if it is listed in the servives
file.  instead, grep for ssh.  Here's mine:

[twolf@rune twolf]$ netstat -l | grep ssh
tcp        0      0 *:ssh                   *:*                     LISTEN
[twolf@rune twolf]$

    :ssh is the plain text for the port 'name'.  Using -n along with it
elimintaes the usage of port 'names':

[twolf@rune twolf]$ netstat -ln | grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
[twolf@rune twolf]$

    -n unfortionatly, also makes the display not show host names, but
instead, actual IP's.


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to