From 45e29a897cbc2949781db69b9a9735fbefa76c01 Mon Sep 17 00:00:00 2001 From: Amrita Sakthivel Date: Fri, 4 Aug 2023 19:26:29 +0530 Subject: [PATCH] adds content to proc --- xml/security_ssh.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/xml/security_ssh.xml b/xml/security_ssh.xml index 2c11950c33..f78a050e12 100644 --- a/xml/security_ssh.xml +++ b/xml/security_ssh.xml @@ -1829,6 +1829,21 @@ cd path Change remote directory to 'path' works on authentication log files and by default it scans files such as /var/log/auth.log, /var/log/apache/access.log, etc. + + Using <emphasis>Fail2Ban</emphasis> to stop a SSH brute force attack + To install Fail2Ban, execute: + &prompt.root;sudo zypper -n in fail2ban firewalld + + When you install Fail2Ban, a default configuration file + jail.conf is also installed. This file gets overwritten + when you upgrade Fail2Ban. To retain any customizations + you make to the file, you can copy the jail.conf file to + another file called jail.local. Both files are automatically read by + Fail2Ban. + + &prompt.root;cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local + +