Plesk

Plesk support SSH Access extension displays warning: Some issues were detected: Cannot whitelist IP address: Binary sa-fail2ban.sh execution failed with error code 255

Symptoms

Cause

This is an expected behavior. When you grant access to SSH via extension, it executes a script to add required networks to fail2ban. If the SSH jail is not active, it produces a warning and the networks are not added.
Nevertheless, an external request with ID #PPPM-13288 was created to address the warning in question.

Resolution

1. Log into Plesk

2. Enable the 'ssh' jail at Tools & Settings > IP Address Banning (Fail2Ban) > Jails.

3. Go to Extensions > My extensions > Support SSH Access and click on the button Revoke access immediately.

4. Grant access again.