描述:
**环境:**xshell 5 更新后版本为 XShell 5 bulid 1346),虚拟机 VMWare workstation 12 (12.5.9 bulid 7535481), CentOS 更新后版本 (CentOS linux release 7.7.1908 core)。
问题:
Xshell 与 虚拟机内 CentOS 系统连接失败(频繁掉线/长时间连接不上)
解决方案:
查看 CentOS 是否已安装 openssh-server
, 并开启SSH服务
#查看是否已安装 openssh-server 服务
[kingarthur@localhost ~]$ yum list installed | grep openssh-server
openssh-server.x86_64 7.4p1-21.el7 @base
#更改 SSH 服务配置文件
# If you want to change the port on a SELinux system, you have to tell