Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fail2ban’s SSH jail counters show failed log entries that its configured filter recognized and bans that the jail recorded. They do not count every SSH probe, identify unique attackers, or prove that an account was compromised. To interpret the figures, separate failed matches from bans, check what logs the jail reads, and confirm how your installed version reports and retains statistics.

How to check Fail2ban’s SSH counters

For a jail named sshd, run fail2ban-client status sshd. To see server status and all jails, use fail2ban-client status and fail2ban-client status --all. The August 2026 manual for Fail2ban v1.1.2.dev1 also documents fail2ban-client statistics for current statistics across jails; its statistics table includes the jail, backend, found count, and banned count. These commands and displayed fields can vary by version, so check fail2ban-client --help or the manual installed on your system. Fail2ban client manual.

What each status field means

Field What it represents What not to infer
Currently failed A current or windowed count of failures recognized by the jail’s filter. It is not the lifetime number of SSH attempts.
Total failed The accumulated failed-match count reported by that jail over its tracking period. The status output alone does not establish a universal all-time boundary.
Currently banned Addresses currently held under a ban in that jail’s action state. It does not show every address ever banned.
Total banned The jail’s reported total ban count. It is not necessarily a count of unique addresses: an address may be banned again after a ban expires or is removed.

“Failed” and “banned” describe different stages. A matching failure can be counted without triggering a ban; an address is banned only when it meets the jail’s configured conditions. Exact counter reset and persistence behavior depends on the Fail2ban version, database configuration, and jail lifecycle. Fail2ban’s manual documents database storage and ban-history retention controls, including dbpurgeage, so do not assume “Total” means all time. Fail2ban jail configuration manual.

What the counts can tell you about SSH activity

Fail2ban monitors configured log files or systemd journals and looks for entries matching a jail’s filter. It records matching failures and, once an address reaches the configured maxretry within findtime, invokes the jail’s ban action. The counts therefore describe activity visible to that host, in the selected input, as recognized by that filter—not all attempts made against SSH.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
  • A high Total failed count means the jail has recorded many matching failure events during its accounting period.
  • A rising ban count means addresses have met the jail’s configured ban conditions often enough to trigger its action.
  • Neither figure establishes whether anyone logged in successfully, who operated the source address, how sophisticated an attempt was, or how much SSH probing occurred beyond the jail’s inputs.

The project’s documentation gives an example of five failures within ten minutes. That illustrates how maxretry and findtime can be configured; it is not a universal default or a statistic about attack prevalence. Fail2ban project wiki.

Why zero counts or missing bans may be misleading

Zero detections

A zero does not prove there has been no SSH activity. Check that the jail is enabled, its backend and log path or journal match are correct, and its filter recognizes the log format. A jail may also show no ban because failures have not reached its threshold. The project wiki lists these configuration and matching issues as causes to investigate; the jail manual describes behavior when configured log paths do not match and systemd backend fallback conditions.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Unexpected time-window counts

Time parsing can affect which entries fall within a window such as findtime. Fail2ban interprets log lines without an explicit timezone using its own system timezone unless configured otherwise; the manual recommends that services emit explicit offsets where possible. Check the host timezone and timestamp format when counts do not align with the log entries you expect. Fail2ban jail configuration manual.

Failures appear, but no effective block

Review the effective jail configuration, threshold, and action. A logged “Ban” message is not independent proof that firewall enforcement worked: the project wiki notes that action problems can leave an address able to connect even after Fail2ban logs a ban. Verify the action and firewall state separately.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

How to compare counts across hosts or time periods

Raw counters are only useful comparisons when the measurement conditions are comparable. Before concluding that one host is seeing more attacks, or that activity has changed, align these factors:

  • Jail and input: compare the same jail and the same log source or backend.
  • Interval and time handling: use the same observation period and account for timezone and timestamp parsing.
  • Thresholds: compare maxretry and findtime; different settings change how often failures lead to bans.
  • Counter meaning: distinguish current/windowed values from accumulated totals, and check version and database context.
  • Metric: keep failed matches and bans separate. If you calculate unique IP addresses or a rate per IP, state how you derived it and the interval and denominator. Those are not the same as Fail2ban’s raw found or banned counters.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What Fail2ban metrics cannot establish

These counters are operational evidence about what one configured jail recognized and did. They are not a measure of internet-wide SSH brute-force prevalence, a complete attack log, or a security audit proving that the server is safe. The Fail2ban project states: “Though Fail2Ban is able to reduce the rate of incorrect authentication attempts, it cannot eliminate the risk presented by weak authentication.” Fail2ban project README. Use strong authentication and verify that the configured ban action is actually enforced.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.