vi /etc/ssh/sshd_config 查找UseDNS关键字,将UseDNS yes 改为UseDNS no service sshd restart 再次连接就会很快 Xshell远程连接虚拟机时很慢_Tony_Xian的博客-CSDN博客