The fail2ban-client command
configure and control the server 3 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.
Examples
sudo fail2ban-client status
sudo fail2ban-client status sshd
sudo fail2ban-client set sshd unbanip 192.168.1.42