denyhosts/README.md

20 lines
406 B
Markdown
Raw Normal View History

2019-09-24 08:53:00 +08:00
# denyhosts
2019-10-22 23:11:56 +08:00
ssh防止暴力破解,适用Debian 8、9
2022-06-26 19:49:00 +08:00
支持钉钉告警和邮件告警
支持第三方QQ邮箱告警
支持一次运行检测、后台运行检测
请安装libcurl库
2017-11-25 20:14:11 +08:00
2019-10-22 23:08:05 +08:00
cd /root
2019-10-22 23:09:45 +08:00
git clone https://github.com/niuyuling/denyhosts.git
2019-10-22 23:11:56 +08:00
cd denyhosts
make clean; make
2019-10-22 23:09:45 +08:00
chmod a+x /root/denyhosts/denyhosts.sh
2021-07-11 10:10:55 +08:00
2019-10-22 23:09:45 +08:00
crontab 定时任务,像这样.
0 22 * * * /root/denyhosts/denyhosts.sh
2019-09-24 08:53:00 +08:00
2022-06-26 19:49:00 +08:00