First find out the ip address that’s blocked
iptables -n -L --line-numbers | grep 192.168.1.20
or
last -i | grep username
Then run fail2ban
fail2ban-client set sshd unbanip 192.168.1.20
First find out the ip address that’s blocked
iptables -n -L --line-numbers | grep 192.168.1.20
or
last -i | grep username
Then run fail2ban
fail2ban-client set sshd unbanip 192.168.1.20