If your IP was blocked by fail2ban after several failed login attempts: connect via VNC/IPMI console and unblock your IP.
Applies to:
✔ VPS
✔ Dedicated servers
✔ Linux
VPS: open VNC console in the control panel.
Dedicated server: connect via IPMI.
fail2ban-client status
fail2ban-client status sshd
Find your IP in the "Banned IP list" section.
fail2ban-client set sshd unbanip YOUR_IP
Create or edit /etc/fail2ban/jail.local:
[DEFAULT]
ignoreip = 127.0.0.1/8 YOUR_IP
systemctl restart fail2ban
iptables -L -n --line-numbers | grep YOUR_IP
iptables -D f2b-sshd LINE_NUMBER
ssh root@SERVER_IP
If the IP keeps getting blocked, check for brute-force attacks from your IP (your computer may be compromised). If the problem persists, open a support ticket.