Xshell远程连接Linux服务器出错

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

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

步骤一:启动sshd服务器

/etc/init.d/sshd start

步骤二:关闭防火墙

/etc/init.d/iptables stop

posted @ 2018-05-23 18:04  yanghaotai  阅读(636)  评论(0编辑  收藏  举报