15 lines
294 B
Markdown
15 lines
294 B
Markdown
# denyhosts
|
|
ssh防止暴力破解,适用Debian 8、9
|
|
|
|
|
|
## Help Information
|
|
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
|
|
|