From c5dd4e52e2229915c0de4376f5048ff4ced6b701 Mon Sep 17 00:00:00 2001 From: mhoellein Date: Mon, 31 Jan 2022 13:36:45 +0100 Subject: [PATCH] daily autocommit --- .etckeeper | 1 + fail2ban/jail.d/sshd.conf | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 fail2ban/jail.d/sshd.conf diff --git a/.etckeeper b/.etckeeper index ba27cdc..2045694 100755 --- a/.etckeeper +++ b/.etckeeper @@ -833,6 +833,7 @@ maybe chmod 0644 'fail2ban/filter.d/zoneminder.conf' maybe chmod 0644 'fail2ban/jail.conf' maybe chmod 0755 'fail2ban/jail.d' maybe chmod 0644 'fail2ban/jail.d/defaults-debian.conf' +maybe chmod 0644 'fail2ban/jail.d/sshd.conf' maybe chmod 0644 'fail2ban/paths-arch.conf' maybe chmod 0644 'fail2ban/paths-common.conf' maybe chmod 0644 'fail2ban/paths-debian.conf' diff --git a/fail2ban/jail.d/sshd.conf b/fail2ban/jail.d/sshd.conf new file mode 100644 index 0000000..832f3a9 --- /dev/null +++ b/fail2ban/jail.d/sshd.conf @@ -0,0 +1,3 @@ +[sshd] +enabled = true +maxretry = 15 -- 2.43.0