find open servers on your IPv4 subnet, e.g. SSH
Find SSH servers (without NMAP)
Platform-independently find SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP. Scans entire IPv4 subnet in less than 1 second using 100 threads via Python standard library concurrent.futures.
Although speed advantages weren't seen in our testing,
findssh works with PyPy as well.
findssh.m works similarly.
To allow use from other programs, you can install by:
pip install findssh
or from this repo:
pip install -e .
or from within Python
import findssh findssh.run()
Command line options
-scheck the string from the server to attempt to verify the correct service has been found
-ttimeout per server (seconds) useful for high latency connection
-bbaseip (check other subnet besides your own)
-pnetwork port to scan (default 22)