This commit is contained in:
jakubknczny 2021-11-24 12:52:24 +01:00
parent 70266b4ef3
commit db3ad3d918
1 changed files with 0 additions and 4 deletions

View File

@ -1,8 +1,4 @@
#!/bin/bash
echo "log"
printf "[sshd]\nenabled = true\nbanaction = iptables-multiport" > /etc/fail2ban/jail.local
systemctl enable fail2ban
ufw allow OpenSSH