Using nmap to find SSHd
March 20, 2022•67 words
I find myself needing to do this now and then (I have a couple of Raspberry Pis which are booted up now and then - and are on dynamic IP's). And always forgetting how to do it, so here it is for finding ssh-daemons running on standard port (22) on a 192.168.1.0-192.168.1.255 network:
$ nmap -p 22 --script=banner 192.168.1.0/24
Yes. It is that simple :)