I tried to install Fail2ban on my Centos 7 machine to prevent force brute connection on ssh server.
I'm using a private key with a passphrase to connect. I tested Fail2ban but it doesn't block me when i put a bad passphrase.
I just want to insist that i'm usinfg my private key to connect to ssh.
Thanks for help :)