The external IP of the ping server is accessible.But the telnet IP 22 port is not accessible.Use
There is also port 22 listening. But I can’t connect using ssh + ip.
小伙看你根骨奇佳,潜力无限,来学PHP伐。
Try turning off the firewall, service firewalld stop
service firewalld stop
Generally the firewall is turned on for newly installed systems. To turn off the firewall, run service iptables stop or add a firewall policy to open port 22
Maybe the firewall is causing trouble, you can directly use the following command to turn off the firewall and selinux under centos7 2
setenforce 0 sed -i.bak "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config systemctl disable firewalld.service systemctl stop firewalld.service iptables --flush
Try turning off the firewall,
service firewalld stop
Generally the firewall is turned on for newly installed systems. To turn off the firewall, run service iptables stop or add a firewall policy to open port 22
Maybe the firewall is causing trouble, you can directly use the following command to turn off the firewall and selinux under centos7 2