Questions related to fail2ban CLI utility

Created:

2016-11-16 12:52:54 UTC

Modified:

2017-08-08 13:13:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Questions related to fail2ban CLI utility

Applicable to:

  • Plesk 12.0 for Linux
  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Question

How to enable fail2ban from command line?

Answer

To enable fail2ban service shipped with Plesk use the following command line utility:

# /usr/local/psa/admin/bin/f2bmng --enable

To find more information how to manage fail2ban via command line use -h option:

# /usr/local/psa/admin/bin/f2bmng -h

Use the following KB article to find how install fail2ban via command line.

Question

Is it possible to manage parameter max_retries of fail2ban jails using CLI?

Answer

This is not possible, however XML RPC API has required request, as explained in the following article on documentation portal.

 

Have more questions? Submit a request
Please sign in to leave a comment.