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

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!