- Plesk 12.5 for Linux
- SSH is configured to use key-based authentication
sshjail is activated in Fail2Ban
Fail2Ban detects failed login attempts in
- Fail2Ban does not block access to Plesk via ssh after detecting required number of failed login attempts
Fail2Ban does not block access to Plesk for ssh key-based authentication.
jail is applied to password-based authentication only.
It is not required to block failed login attempts via ssh with key-based authentication as there is no practical way to brute-force the key. Any login attempts will fail anyway because they won't have the matching key.
Fail2Ban will perfectly block IPv4 brute-force attempts via ssh when password authorization is required.