Quick Win: Using Nmap to Track Down a Rebooted Pi
June 21, 2025
Today I put my basic nmap
skills to practical use after getting unexpectedly kicked out of a PuTTY
session. My Raspberry Pi 2 must have rebooted and grabbed a new IP via DHCP, which broke the connection.
Instead of diving into the router to dig around, I ran:
nmap -p 22 --open 192.168.1.0/24
This scanned my whole subnet for hosts with SSH (port 22) open. A few seconds later-boom-I had my Pi back. Even better, I discovered a few devices I didnt realize had SSH enabled. So, mini audit complete.
Lesson learned: Ill set a static IP for that Pi soon. But hey, it was a good reminder that quick terminal chops can save you time and expose some blind spots in your network.
Comments
Loading comments...