2019-09-24 08:53:00 +08:00
|
|
|
# denyhosts
|
2019-10-22 23:11:56 +08:00
|
|
|
ssh防止暴力破解,适用Debian 8、9
|
2017-11-25 20:14:11 +08:00
|
|
|
|
|
|
|
|
2021-07-11 10:10:55 +08:00
|
|
|
## Help Information
|
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
|
|
|
|