How to find IP address of a machine on network?

Chris Mohler cr33dog at gmail.com
Fri Jan 16 21:07:04 UTC 2009


On Sat, Jan 17, 2009 at 2:48 PM, Charles Darwin <DarwinsKernel at gmail.com> wrote:
>
> On Jan 16, 2009, at 3:32 PM, Chris Mohler wrote:
>
> sudo nmap -sP 10.0.1.*
>
> That was nice but still `dns-sd -B _ssh._tcp .` is faster. How do you tell
> nmap to only look for those that broadcast ssh?

sudo nmap -p 22 10.0.1.*
[sudo] password for XXXXXXX:

Starting Nmap 4.62 ( http://nmap.org ) at 2009-01-16 15:05 CST
Interesting ports on X.X.X.X:
PORT   STATE  SERVICE
22/tcp closed ssh
MAC Address: XXXXXXXXXXX (Apple Computer)

Interesting ports on X.X.X.X:
PORT   STATE  SERVICE
22/tcp closed ssh

Nmap done: 256 IP addresses (2 hosts up) scanned in 5.686 seconds

Chris




More information about the ubuntu-users mailing list