ssh-scanner

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 9 Imported by: 0

README

ssh-scanner

A high-performance SSH scanner written in Go. It scans specified network ranges or IPs to check for SSH accessibility using provided credentials.

Build

go build -o ssh-scanner

Usage

./ssh-scanner [options] <CIDR|IP|Suffix> [user] [password]
Options
Flag Description Default
-u SSH username test
-p SSH password 123456
-w Number of concurrent workers 100
-t Connection timeout 3s
Features
  • 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.
Examples

Scan a subnet:

./ssh-scanner 192.168.1.0/24

Scan with custom credentials (Flags):

./ssh-scanner -u admin -p secret -w 500 10.0.0.0/16

Scan with custom credentials (Positional - Legacy Support):

./ssh-scanner 192.168.1.0/24 admin secret
# Or using the shortcut:
./ssh-scanner 3 root 123456

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL