2019-09-24 08:53:00 +08:00
|
|
|
# denyhosts
|
2019-09-25 22:54:31 +08:00
|
|
|
ssh防止暴力破解.
|
|
|
|
记录mail server的一些信息,攻击IP等.
|
2019-10-22 23:08:05 +08:00
|
|
|
- 适用Debian 8、9
|
2017-11-25 20:14:11 +08:00
|
|
|
|
|
|
|
|
2019-10-22 23:08:05 +08:00
|
|
|
cd /root
|
|
|
|
git clone https://github.com/niuyuling/denyhosts.git
|
|
|
|
chmod a+x /root/denyhosts/denyhosts.sh
|
|
|
|
crontab 定时任务,像这样.
|
|
|
|
0 22 * * * /root/denyhosts/denyhosts.sh
|
2019-09-24 08:53:00 +08:00
|
|
|
|