Xshell/Xftp连接Linux速度非常慢(已解决)
原因:
在使用shell连接虚拟机时连接等待时间太长,ssh的服务端在连接时会自动检测dns环境是否一致导致的,修改为不检测即可!
解决方案:
1、打开sshd服务的配置文件/etc/ssh/sshd_config,把UseDNS yes改为UseDNS no

2、重启sshd服务
/etc/init.d/sshd restart
    a rebirth
1、打开sshd服务的配置文件/etc/ssh/sshd_config,把UseDNS yes改为UseDNS no

2、重启sshd服务
/etc/init.d/sshd restart
