Find SSH device on network

Handy command to find active, open SSH clients on your network:

nmap -n -p 22 --open -oG - $(hostname -I | cut -f1-3 -d.).* | awk '/Up$/{print $2}'


Comments

Popular Posts