通過關閉 UseDNS和GSSAPIAuthentication選項加速SSH登錄
工具/原料
linux系統
root權限
方法/步驟
1
編輯配置文件 /etc/ssh/sshd_config vim /etc/ssh/sshd_config 找到 UseDNS選項,如果沒有註釋,將其註釋 #UseDNS yes 添加 UseDNS no
2
找到 GSSAPIAuthentication選項,如果沒有註釋,將其註釋 #GSSAPIAuthentication yes 添加 GSSAPIAuthentication no
保存配置文件
3
重啓 OpenSSH服務器 /etc/init.d/sshd restart
轉自http://jingyan.baidu.com/article/a3761b2ba735531576f9aa1d.html