welliamcao / BASH_SCRIPTS

some bash scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###SHELL写的一些脚本

  • gather_host_info.sh 用来收集服务器信息,并且可以发送邮件
  • sshMonitor 以linux守护进程的方式,将ssh连续三次登入失败的IP,拒绝掉。

gather_host_info.sh使用方法

  • chmod +x gather_host_info.sh
  • ./gather_host_info.sh

sshMonitor使用方法

  • chmod +x sshMonitor
  • cp sshMonitor /etc/init.d/
  • service sshMonitor {start|stop|restart}

About

some bash scripts


Languages

Language:Shell 100.0%