Xshell远程连接Linux服务器出错

Xshell远程连接Linux服务器出错——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

1)如何解决Linux下通过root无法远程登录  

2)ubuntu获得root用户权限,使用xshell连接 

3)Deepin 下开启SSH远程登陆

原文地址:https://www.cnblogs.com/mathyk/p/7861380.html