Nmap Announce mailing list archives

Re: Nmap-2.00 doesn't recognize SSH?


From: "HD Moore" <hdmoore () usa net>
Date: Thu, 17 Dec 1998 02:49:02 -0600

That is a LOCAL system problem.  Nmap uses getservbynum to assign the
service name to the port/proto number.  If your /etc/services doesnt contain
an entry for SSH, it will show up as unknown.

A quick fix is this:

echo "ssh             22/tcp" >> /etc/services
echo "ssh             22/udp" >> /etc/services


Hello.

Why doesn't nmap-2.00 recognize SSH?  If I portscan mye computer here,
you'll get this report;

21      open        tcp        ftp
22      open        tcp        unknown
53      open        tcp        domain
80      open        tcp        http
110     open        tcp        pop-3
113     open        tcp        auth
119     open        tcp        nntp




Current thread: