系统相关
首页 > 系统相关> > centos 6.9无法远程连接

centos 6.9无法远程连接

作者:互联网

centos 无法远程连接解决方案:

1、查看防火墙是否关闭

  service iptables status 

可通过下面命令临时关闭防火墙,也可以永久关闭防火墙

 /etc/init.d/iptables stop 

service iptables stop 

chkconfig iptables off (永久关闭)

2、查看是否安装sshd 

rpm -qa |grep sshd

image.png

查看是否运行

image.png

如果未安装sshd 使用yum install openssh-server 安装

image.png

3、解决以上问题,便可远程连接


标签:iptables,sshd,centos,防火墙,关闭,远程,6.9
来源: https://blog.51cto.com/422621/2423164