working
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# ~/.bashrc
|
||||
|
||||
clear
|
||||
echo "Server {{HOSTNAME}}"
|
||||
|
||||
|
||||
10
app/templates/etc/fail2ban/jail.conf
Normal file
10
app/templates/etc/fail2ban/jail.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[DEFAULT]
|
||||
bantime = 1h
|
||||
findtime = 30m
|
||||
maxretry = 1
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
filter = sshd
|
||||
logpath = /var/log/auth.log
|
||||
@@ -1 +1 @@
|
||||
{{ssh_public}}
|
||||
{{SSH_PUBLIC}}
|
||||
|
||||
Reference in New Issue
Block a user