20 lines
406 B
Markdown
20 lines
406 B
Markdown
# 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
|
|
|
|
|
|
|