Fail2ban SSH only working for wrong ID, how about wrong password?

August 6, 2017 1k views
Linux Basics Nginx

I just installed Fail2ban and tried how effective it is, it seems SSHD filter only works for wrong ID/username, but not working for wrong password. I tried to login with root and using wrong password dozens time, and still able to login afterward using the correct password. How to lock IP for wrong password 3 times?

Be the first one to answer this question.