近期发现通过Xshell登录远程Linux主机时需要等待很长时间:
通过配置文件sshd_config,修改以下2个参数的值:
# vim /etc/ssh/sshd_config
#UseDNS yes --> UseDNS no
GSSAPIAuthentication yes --> GSSAPIAuthentication no
# service sshd restart
SSH登录远程服务器的速度明显加快。
本文转自Marion0728 51CTO博客,原文链接http://blog.51cto.com/qiuyue/1932039
:,如需转载请自行联系原作者