Updated Jul 14, 2026

Passwords

Test SSH passwords from a wordlist

SSH password brute-forcing from a host, user, and wordlist.

Agent

overview

What ssb does

ssb tries each password in a -w wordlist against one SSH host and user, writing any credential that authenticates to a file and folder.

Use it after a port scan shows SSH open. Tune -c for concurrency, -r for retries, and -t for per-attempt timeout when the server throttles.

Unlike hydra or medusa, ssb covers SSH only. Keep the wordlist focused; lockouts and rate limits punish oversized lists.

source github.com/kitabisa/ssb

use cases

Where ssb fits

Test SSH for weak credentials

Run a curated password list against a host and user to surface reused or default logins before an attacker finds them.

Brute-force discovered SSH services

Feed ssb hosts from a port scan that found open port 22 so attempts only hit services that exist.

Tune concurrency for the target

Raise or lower -c and the retry count to push throughput on a tolerant server or stay gentle on a fragile one.

Audit your own fleet

Point ssb at your own hosts with a breached-password list to confirm none of them accept a known-bad credential.

reference

ssb inputs and flags

8 inputs
NameTypeFlagDescription
hostSTRING·Target SSH host to brute-force.
userSTRING·Username to brute-force on the target.
wordlistFILE-wPath to the password wordlist file.
portSTRING-pPort to connect to on the remote host (default 22).
concurrentSTRING-cConcurrency / thread level (default 100).
retriesSTRING-rNumber of connection retries (default 1).
timeoutSTRING-tConnection timeout (default 30s).

Showing key inputs. ssb exposes 8 inputs in total.

Full flag reference (8 inputs)
NameTypeFlagDescription
hostSTRING·Target SSH host to brute-force.
portSTRING-pPort to connect to on the remote host (default 22).
userSTRING·Username to brute-force on the target.
retriesSTRING-rNumber of connection retries (default 1).
timeoutSTRING-tConnection timeout (default 30s).
verboseBOOLEAN-vVerbose mode; log each attempt as it runs.
wordlistFILE-wPath to the password wordlist file.
concurrentSTRING-cConcurrency / thread level (default 100).

example

Run ssb

ssb · command
# brute-force SSH on a discovered host with a password listssb -w /usr/share/wordlists/rockyou.txt -c 200 -r 2 -t 15 -p 2222 root@198.51.100.23
sample output
[*] target 198.51.100.23:2222  user: root  wordlist: rockyou.txt (14344392 words)[-] root:123456[-] root:password[-] root:12345678[-] root:letmein[+] valid credential found -> root:S3cr3t-Autumn![*] 1 credential recovered, 4812 tries in 00:02:41

guidance

Choosing ssb

Use ssb when SSH is open and you need to test one host and user against a password wordlist. For other protocols, use a multi-protocol cracker. Confirm the port first, and only on authorized hosts.

hydra

Multi-protocol cracker. Prefer ssb when SSH is the only target.

medusa

Parallel multi-protocol brute-forcer. ssb keeps a smaller SSH-only flag set.

faq

ssb questions

A host, a user, and a -w wordlist of passwords. ssb tries each candidate against the SSH service and reports any that authenticate.

Run ssb yourself

A host and a wordlist feed ssb, which brute-forces the SSH login and writes any valid credential as output.

Facts on this page come from the live Trickest tool library.