拒绝主机&杀毒
denyhosts.sh | ||
Makefile | ||
README.md | ||
rhost | ||
rhost.c | ||
rhost.o |
denyhosts
ssh防止暴力破解,适用Debian 8、9
支持钉钉告警和邮件告警
支持第三方QQ邮箱告警
支持一次运行检测、后台运行检测
请安装libcurl库
cd /root
git clone https://github.com/niuyuling/denyhosts.git
cd denyhosts
make clean; make
chmod a+x /root/denyhosts/denyhosts.sh
crontab 定时任务,像这样.
0 22 * * * /root/denyhosts/denyhosts.sh