Skip to content

welliamcao/BASH_SCRIPTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

###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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages