diff options
| -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 |
