使用 SSH 登入 CentOS 系統發現速度相當的慢,查了一下,一樣還是 DNS 的關係。

改善方法如下:
1. 編輯 /etc/ssh/sshd_config
將 UseDNS yes 改成 no
2. 重啟 ssh
# /etc/init.d/sshd restart

arrow
arrow
    全站熱搜

    mark528 發表在 痞客邦 留言(0) 人氣()