Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Hackers: Re: Nmap-2.00 doesn't recognize SSH?

Re: Nmap-2.00 doesn't recognize SSH?

From: HD Moore <hdmoore_at_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
Received on Dec 17 1998

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos