摘要:
写一个配置文件保存被监控主机SSH连接信息,格式:IP User Port 配置防火墙规则 创建ssh免密通道 脚本如下 !/bin/bash disk_file=/tmp/disk host_info=host function info() { echo e "\033[32m [INFO] \ 阅读全文
posted @ 2019-07-12 19:11
Outsrkem
阅读(640)
评论(0)
推荐(0)
摘要:
更改 Firewall 为 iptables rpm -q firewalld rpm -e --nodeps firewalld yum -y install iptables-services systemctl start iptables systemctl enable iptables 阅读全文
posted @ 2019-07-12 13:23
Outsrkem
阅读(322)
评论(0)
推荐(0)