fail2ban配置

记录一次服务器被黑的经历,,

看到有奇怪的进程在跑,sudo切换到其用户下,看history。。

image-20211119162948803

fail2ban配置

1
2
3
4
5
sudo apt install fail2ban
cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local


Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×