fail2ban
*1 Checking if someone is in jail
You have multiple jails - the one I'm usually interested in is sshd
:
sudo fail2ban-client status sshd
2 Removing from jail
sudo fail2ban-client -i
then in interactive mode:
status sshd set sshd unbanip XXX.XXX.XXX.XXX