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 + +