问题描述: 使用Xshell进行连接虚拟机的操作时出现了Disconnected from remote host的错误! 解决方案(过程): 1、vim /etc/ssh/sshd_config 2、#UseDNS yes改为UseDNS no 3、重启service sshd restart 问题解决!!!