重启后无法ssh

菜鸟 1147 200

刚才删除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

发表评论 (已有200条评论)

评论列表

2023-01-23 01:17:43

1

2023-01-23 01:18:32

1

2023-01-23 01:20:21

1

2023-01-23 01:20:29

1

2023-01-23 01:22:18

1

2023-01-23 01:22:28

1

2023-01-23 01:22:28

1

2023-01-23 01:22:29

1

2023-01-23 01:22:30

1

2023-01-23 01:22:31

1

2023-01-23 01:22:31

1

2023-01-23 01:22:32

1

2023-01-23 01:22:34

1

2023-01-23 01:22:40

1

2023-01-23 01:22:47

1

2023-01-23 01:23:00

1

2023-01-23 01:23:10

1

2023-01-23 01:23:20

1

2023-01-23 01:23:27

1

2023-01-23 01:23:38

1

2023-01-23 01:23:49

1

2023-01-23 01:23:57

1

2023-01-23 01:24:03

1

2023-01-23 01:24:04

1

2023-01-23 01:24:05

1

2023-01-23 01:24:06

1

2023-01-23 01:24:15

1

2023-01-23 01:24:23

1

2023-01-23 01:26:51

1

2023-01-23 01:26:59

1

2023-01-23 01:27:10

1

2023-01-23 01:27:23

1

2023-01-23 01:27:24

1

2023-01-23 01:27:25

1

2023-01-23 01:27:26

1

2023-01-23 01:27:26

1

2023-01-23 01:27:27

1

2023-01-23 01:27:35

1

2023-01-23 01:27:46

1

2023-01-23 01:27:54

1

2023-01-23 01:28:04

1

2023-01-23 01:28:10

1

2023-01-23 01:28:18

1

2023-01-23 01:28:34

1

2023-01-23 01:28:45

1

2023-01-23 01:28:52

1

2023-01-23 01:28:53

1

2023-01-23 01:28:54

1

2023-01-23 01:28:55

1

2023-01-23 01:29:12

1

2023-01-23 01:29:12

1

2023-01-23 01:29:13

1

2023-01-23 01:29:13

1

2023-01-23 01:29:14

1

2023-01-23 01:29:14

1

2023-01-23 01:29:15

1

2023-01-23 01:29:15

1

2023-01-23 01:29:16

1

2023-01-23 01:29:16

1

2023-01-23 01:29:16

1

2023-01-23 01:29:22

1

2023-01-23 01:29:31

1

2023-01-23 01:29:36

1

2023-01-23 01:29:40

1

2023-01-23 01:29:46

1

2023-01-23 01:29:51

1

2023-01-23 01:29:56

1

2023-01-23 01:30:03

1

2023-01-23 01:30:08

1

2023-01-23 01:30:17

1

2023-01-23 01:30:24

1

2023-01-23 01:30:29

1

2023-01-23 01:30:33

1

2023-01-23 01:30:37

1

2023-01-23 01:30:37

1

2023-01-23 01:30:38

1

2023-01-23 01:30:39

1

2023-01-23 01:30:43

1

2023-01-23 01:30:48

1

2023-01-23 01:30:48

-1 OR 2+827-827-1=0+0+0+1 --

2023-01-23 01:30:49

-1 OR 3+827-827-1=0+0+0+1 --

2023-01-23 01:30:49

-1 OR 2+171-171-1=0+0+0+1

2023-01-23 01:30:49

-1 OR 3+171-171-1=0+0+0+1

2023-01-23 01:30:50

-1' OR 2+790-790-1=0+0+0+1 --

2023-01-23 01:30:50

-1' OR 3+790-790-1=0+0+0+1 --

2023-01-23 01:30:50

-1' OR 2+611-611-1=0+0+0+1 or 'SHrFF6rW'='

2023-01-23 01:30:51

-1' OR 3+611-611-1=0+0+0+1 or 'SHrFF6rW'='

2023-01-23 01:30:51

-1" OR 2+801-801-1=0+0+0+1 --

2023-01-23 01:30:52

-1" OR 3+801-801-1=0+0+0+1 --

2023-01-23 01:30:56

if(now()=sysdate(),sleep(15),0)

2023-01-23 01:31:00

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

2023-01-23 01:31:06

0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

2023-01-23 01:31:11

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

2023-01-23 01:31:23

-1); waitfor delay '0:0:15' --

2023-01-23 01:31:29

1 waitfor delay '0:0:15' --

2023-01-23 01:31:36

mS6YsZc0'; waitfor delay '0:0:15' --

2023-01-23 01:31:42

-5 OR 56=(SELECT 56 FROM PG_SLEEP(15))--

2023-01-23 01:31:47

-5) OR 580=(SELECT 580 FROM PG_SLEEP(15))--

2023-01-23 01:31:52

-1)) OR 113=(SELECT 113 FROM PG_SLEEP(15))--

2023-01-23 01:31:57

MOPPpZhj' OR 311=(SELECT 311 FROM PG_SLEEP(15))--