Great way of using nmap. This way you can also see the IPs and machine name together with open ssh ports: sudo nmap -p 22 192.168.1.2- | awk '/Nmap scan report for / { hostLine=$0; hostLinePrinted=0; } /open / && hostLinePrinted==0 { print ""; print hostLine; print $0; hostLinePrinted=1; next} /open / && hostLinePrinted==1 { print $0;}'
On Saturday, June 25, 2016 12:33:00 PM wes wrote: > Do you have sshd running on the desktop? And you haven't changed its > listening port from default? > > You may have to install nmap if your laptop doesn't have it already. > > sudo nmap -p 22 192.168.1.2- | grep -B 2 open > > -wes > > On Sat, Jun 25, 2016 at 8:32 AM, Dick Steffens <d...@dicksteffens.com> > > wrote: > > I'm typing this on my laptop. > > > > I've just set up my computer after it was off for a couple of weeks. I'm > > installed at a friend's house, so I don't know much about the local > > network except that it's 192.168.1.xxx being fed by a Netgear WNR1000. > > > > I plugged all the stuff together for my desktop computer ... two > > monitors, power and data connected, monitor pilot lights blink. I've got > > a keyboard and a mouse connected, and the Ethernet cable is connected. > > Power to the box is connected. Speakers are connected and powered. > > > > When I turn power on to the computer, I hear it do all it's usual stuff, > > but nothing appears on the monitors. At this point I don't know what > > it's IP address is, so I can't try connecting from the laptop. > > > > Any ideas where I should look next? > > > > Is there a way, using my laptop, to find out what IP address the WNR1000 > > assigned to the desktop computer? The laptop is connected to the WNR1000 > > via WiFi. I've also got my wife's Win7 machine up and running on the > > same network. > > > > Clue stick appreciated. > > > > -- > > Regards, > > > > Dick Steffens > > > > _______________________________________________ > > PLUG mailing list > > PLUG@lists.pdxlinux.org > > http://lists.pdxlinux.org/mailman/listinfo/plug > > _______________________________________________ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug