-A: Enables OS detection and Version detection, Script scanning and Traceroute |
#nmap -A --reason localhost Starting Nmap 5.00 ( http://nmap.org ) at 2009-09-04 04:39 BST Interesting ports on localhost.localdomain (127.0.0.1): Not shown: 999 closed ports Reason: 999 resets PORT STATE SERVICE REASON VERSION 22/tcp open ssh syn-ack OpenSSH 5.2 (protocol 2.0) | ssh-hostkey: 1024 dd:1f:55:e0:86:c3:5c:0b:10:dc:10:a6:49:e4:d6:f6 (DSA) |_ 2048 b0:67:b3:b7:a8:5a:63:82:bf:92:98:34:43:d4:04:23 (RSA) Device type: general purpose Running: Linux 2.6.X OS details: Linux 2.6.15 - 2.6.27 Network Distance: 0 hops |