远程软件连接虚拟机慢解决方法

1、vim  /etc/ssh/sshd_config    #打开配置文件

UseDNS no   #默认是被注释的,去掉注释,把yes改为no,并重启sshd服务即可

+++++++++++++++++++++++++++++++++++++++++++++++

2、gssapi的问题
用ssh -v user@server 可以看到登录时有如下信息:
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
解决办法:
可以使用ssh  -o GSSAPIAuthentication=no user@server登录
也可以修改/etc/ssh/ssh_config,设置GSSAPIAuthentication no
 
最后/init.d/sshd restart/init.d/sshd restart
大家一起来学习
原文地址:https://www.cnblogs.com/cuibobo/p/5469095.html