查看文章
 
到 ubuntu 9.04 server ssh 连接太慢
2009-09-02 10:50

所有这种类似情况基本都和DNS有关

from: http://mediakey.dk/~cc/openssh-disabled-reverse-dns-lookup/

The post is mostly to myself, but hopefully useful for others too.

When connecting to an OpenSSH server, one of the first things that the server does is to perform a reverse DNS loopuk on the client’s IP, which is in general a slow operation and causing for an unnecessary delay during authentication. However this reverse DNS lookup can be disabled.

Do the following to disable it:

# In /etc/ssh/sshd_config:
UseDNS no

类别:Linux||添加到搜藏 |分享到i贴吧|浏览(351)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu