Este commit está contenido en:
Your Name
2020-05-27 17:41:14 +00:00
commit bff2789ec0
Se han modificado 17 ficheros con 302 adiciones y 0 borrados

5
scripts/unban.sh Archivo ejecutable
Ver fichero

@@ -0,0 +1,5 @@
#!/bin/bash
fail2ban-client set sshd unbanip $1
cd /opt/docker/fail2ban && docker-compose exec fail2ban fail2ban-client set sshd unbanip $1 && cd -
echo -e "\nUNBANNED: $1\nDONE."
exit 0