修改: README.md

This commit is contained in:
aixiao 2019-10-22 23:11:56 +08:00
parent bd1512047f
commit 014fb45b11

View File

@ -1,11 +1,11 @@
# denyhosts # denyhosts
ssh防止暴力破解. ssh防止暴力破解,适用Debian 8、9
记录mail server的一些信息,攻击IP等.
- 适用Debian 8、9
cd /root cd /root
git clone https://github.com/niuyuling/denyhosts.git git clone https://github.com/niuyuling/denyhosts.git
cd denyhosts
make clean; make
chmod a+x /root/denyhosts/denyhosts.sh chmod a+x /root/denyhosts/denyhosts.sh
crontab 定时任务,像这样. crontab 定时任务,像这样.
0 22 * * * /root/denyhosts/denyhosts.sh 0 22 * * * /root/denyhosts/denyhosts.sh