centos 6.9 can not remotely connect

centos unable remote connectivity solutions:

1. Check the firewall is turned off

  service iptables status 

Temporarily turn off the firewall through the following command, you can also permanently turn off the firewall

 /etc/init.d/iptables stop 

service iptables stop 

chkconfig iptables off (permanently closed)

2, to see if the installation sshd 

rpm -qa |grep sshd

image.png

View is running

image.png

If not used sshd yum install openssh-server installation

image.png

3, to solve the above problem, you can connect remotely


Guess you like

Origin blog.51cto.com/422621/2423164