diff options
| author | Denis Chevalier <perso@denischevalier.fr> | 2026-08-06 13:32:38 +0200 |
|---|---|---|
| committer | Denis Chevalier <perso@denischevalier.fr> | 2026-08-06 13:32:38 +0200 |
| commit | 257a7d8b05bf081ea338132012861cf4d196fee1 (patch) | |
| tree | 062423c4691f1f3e2a99b172336a97185bae29ec | |
| parent | 66f65ef6bc5692071805a928213c776a44c81bf7 (diff) | |
| download | postinstall-257a7d8b05bf081ea338132012861cf4d196fee1.tar.gz postinstall-257a7d8b05bf081ea338132012861cf4d196fee1.tar.bz2 postinstall-257a7d8b05bf081ea338132012861cf4d196fee1.zip | |
fix fail2ban config
| -rwxr-xr-x | etc.bash | 3 | ||||
| -rw-r--r-- | etc/fail2ban/jail.d/sshd.conf (renamed from etc/fail2ban/sshd.local) | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ #!/bin/bash -sudo cp -rv ./etc/keyd/* /etc/keyd/ +sudo cp -v ./etc/keyd/keyd.conf /etc/keyd/ +sudo cp -v ./etc/fail2ban/jail.d/sshd.conf /etc/fail2ban/jail.d/ sudo cp -v ./etc/pacman.conf /etc/ sudo cp -v ./etc/kernel/cmdline /etc/kernel/ sudo cp -v ./etc/modprobe.d/blacklist-security.conf /etc/modprobe.d/ diff --git a/etc/fail2ban/sshd.local b/etc/fail2ban/jail.d/sshd.conf index 89f16ec..35a73c7 100644 --- a/etc/fail2ban/sshd.local +++ b/etc/fail2ban/jail.d/sshd.conf @@ -15,5 +15,5 @@ bantime = 1h [sshd] enabled = true -port = 22 +port = 39901 mode = normal |
