ping 过 IP 了,是有响应的。而且 22 端口也扫描的到。
防火墙是开的。
然后开启了 22 端口(我不清楚这样子操作有没有效)
firewall-cmd --zone=public --add-port=22/tcp --permanent
重新设置了 root 用户的密码。
在 Xshell6.0 上填入 IP,验证方法填的是"Password"
填入了 root 用户的用户名和密码。
但是 Xshell 提示
Could not connect to 'X.X.X.X' (port 22): Connection failed.