sudo fail2ban-client status sshd

Category: Self-Hosting

sudo fail2ban-client status sshd

Show detailed status of the SSH jail — how many IPs are currently banned for brute-forcing SSH

Detailed status for the SSH jail — total failed attempts, number of current bans, and how long bans last.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.