Xshell远程连接Linux服务器出错——Could not connect to '114.214.166.5' (port 22): Connection failed.

来源:互联网 发布:红警3起义时刻兵种数据 编辑:程序博客网 时间:2024/05/22 12:45

Xshell远程访问服务器出错:Could not connect to '114.214.166.5' (port 22): Connection failed.

主要问题可能为两个:(1)sshd服务器没有启动;(2)防火墙问题

步骤一:启动sshd服务器

/etc/init.d/sshd start

步骤二:关闭防火墙

/etc/init.d/iptables stop

0 0
原创粉丝点击