SSH and email login bans (fail2ban): view and unban
Logins to SSH, email (IMAP and POP3), sending mail (SMTP authentication) and FTP are watched by fail2ban. An address that fails too often is banned in the firewall for a while.
The limits
| Setting | Value |
|---|---|
| Failed logins before a ban | 6 |
| Counted within | 10 minutes |
| Ban time | 1 hour |
| Watched | SSH, outgoing mail (SMTP auth), IMAP / POP3, FTP |
See and lift bans
- In the administrator panel (
https://<server>:2087), open Firewall (section Security). - Scroll to Brute force bans — SSH & email (fail2ban). Click Refresh to read the current state; Updated: shows when it was read.
- The table shows for SSH, Outgoing mail (SMTP auth) and IMAP / POP3:
- Failing now — addresses with recent failures that are not banned yet.
- Banned IPs — each banned address.
- Click × next to an address to unban it.
A service marked off is not being watched.
Good to know
- Unbanning lifts the address in every watched service at once, FTP included, even though FTP bans are not listed on the page.
- The usual cause is a phone or computer with an old email password that keeps trying. The ban comes back until the device is fixed.
- Panel logins (admin panel, control panel, API) are handled by brute force protection instead.
Common questions
A customer's email stopped working on all their devices. Is it a ban?
Probably, if one device kept trying an old password from the same network. Look for their address under Banned IPs, unban it, and have them correct the password on every device.
Can I change the ban time?
Not in the panel. The settings are in /etc/fail2ban/jail.d/sahaab.conf on the server, which the installer writes.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to unblock an IP address (customer can't connect)
A customer or you cannot reach the server or log in: find which protection blocked the IP address and unblock it in the right place in the admin panel.
- How to set up brute force protection for panel logins
Block IP addresses after repeated failed logins to the admin panel, control panel and API: set max failures, the time window, block time and whitelisted IPs.
- How to configure the server firewall and open ports
Turn port filtering on, choose the open TCP and UDP ports, and confirm the change within 90 seconds so you can never lock yourself out of the server.