A high-performance SSH scanner written in Go. It scans specified network ranges or IPs to check for SSH accessibility using provided credentials.
go build -o ssh-scanner./ssh-scanner [options] <CIDR|IP|Suffix> [user] [password]| Flag | Description | Default |
|---|---|---|
-u |
SSH username | test |
-p |
SSH password | 123456 |
-w |
Number of concurrent workers | 100 |
-t |
Connection timeout | 3s |
- High Performance: Concurrent scanning with adjustable worker count.
- Smart Parsing: Supports CIDR, single IPs, and suffix shortcuts (e.g.,
3->192.168.3.0/24). - User Friendly: Colored output, real-time progress bar, and detailed statistics.
Scan a subnet:
./ssh-scanner 192.168.1.0/24Scan with custom credentials (Flags):
./ssh-scanner -u admin -p secret -w 500 10.0.0.0/16Scan with custom credentials (Positional - Legacy Support):
./ssh-scanner 192.168.1.0/24 admin secret
# Or using the shortcut:
./ssh-scanner 3 root 123456