刚才删除zabbix后重启发现无法连接ssh,然后用mac的终端tcping一下,发现端口都关闭了,赶紧登录主机商后,发现也连不上这台机器,授权失败。。。那那那。。。
就只有一个basic shell界面能用,但是这个只能输入一些基本命令,修改文件那些是不用指望,但是也试试。首先把防火墙关闭了。但是tcping端口还是不通的。那么在网上看了下,尝试把iptables复活。 解决方法: systemctl stop firewalld 关闭防火墙 yum install iptables-services 安装或更新服务 再使用systemctl enable iptables 启动iptables 最后 systemctl start iptables 打开iptables iptables -I INPUT -p tcp --dport 80 -j ACCEPT 把一些要用的端口都加进去。。 service iptables save 保存iptables的规则; service iptables restart 重启iptables。 继续用mac的终端tcping发现端口还是不通。。。。 然后敲击了一下ssh连接,连上了。。。 再次tcping还是不通。。。 最后把它关闭再打开tcping,通了,坑爹啊。。。
标签: ssh
评论列表
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1 OR 2+827-827-1=0+0+0+1 --
-1 OR 3+827-827-1=0+0+0+1 --
-1 OR 2+171-171-1=0+0+0+1
-1 OR 3+171-171-1=0+0+0+1
-1' OR 2+790-790-1=0+0+0+1 --
-1' OR 3+790-790-1=0+0+0+1 --
-1' OR 2+611-611-1=0+0+0+1 or 'SHrFF6rW'='
-1' OR 3+611-611-1=0+0+0+1 or 'SHrFF6rW'='
-1" OR 2+801-801-1=0+0+0+1 --
-1" OR 3+801-801-1=0+0+0+1 --
if(now()=sysdate(),sleep(15),0)
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
-1); waitfor delay '0:0:15' --
1 waitfor delay '0:0:15' --
mS6YsZc0'; waitfor delay '0:0:15' --
-5 OR 56=(SELECT 56 FROM PG_SLEEP(15))--
-5) OR 580=(SELECT 580 FROM PG_SLEEP(15))--
-1)) OR 113=(SELECT 113 FROM PG_SLEEP(15))--
MOPPpZhj' OR 311=(SELECT 311 FROM PG_SLEEP(15))--