From 77d28172bbbd5c05ba1f27ac21e1a79b29bf29ef Mon Sep 17 00:00:00 2001 From: petroskaridis Date: Fri, 5 Feb 2021 13:27:03 +0000 Subject: [PATCH] Add 'SSH_brute_force/ssh_medusa_shield.sh' --- SSH_brute_force/ssh_medusa_shield.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 SSH_brute_force/ssh_medusa_shield.sh diff --git a/SSH_brute_force/ssh_medusa_shield.sh b/SSH_brute_force/ssh_medusa_shield.sh new file mode 100644 index 0000000..6e376f2 --- /dev/null +++ b/SSH_brute_force/ssh_medusa_shield.sh @@ -0,0 +1,7 @@ +sudo apt update +sudo apt upgrade -y +sudo apt install fail2ban -y +sudo systemctl start fail2ban +#make secure jail config file +sudo cp ./fail2baninfo.txt /etc/fail2ban/jail.local +sudo systemctl restart fail2ban \ No newline at end of file