加速putty的SSH登錄

通過關閉 UseDNS和GSSAPIAuthentication選項加速SSH登錄

工具/原料

  • linux系統

  • root權限

方法/步驟

  1. 1

    編輯配置文件 /etc/ssh/sshd_config vim /etc/ssh/sshd_config 找到 UseDNS選項,如果沒有註釋,將其註釋 #UseDNS yes 添加 UseDNS no

  2. 2

    找到 GSSAPIAuthentication選項,如果沒有註釋,將其註釋 #GSSAPIAuthentication yes 添加 GSSAPIAuthentication no

    保存配置文件

  3. 3

    重啓 OpenSSH服務器 /etc/init.d/sshd restart

    轉自http://jingyan.baidu.com/article/a3761b2ba735531576f9aa1d.html


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章