2007-12-24

Ubuntu 7.10 SSH登录超级慢的解决办法

关键字: ubuntu linux ssh
编辑 /etc/ssh/ssh_config 文件,将
GSSAPIAuthentication yes
改成
GSSAPIAuthentication no
即可。

原因:
The default ssh_config file comes with GSSAPIAuthentication set
to "yes".  This causes a DNS query in an attempt to resolve
_kerberos.<hostname> whenever ssh is invoked.  During periods when
connectivity to the outside world is interrupted for whatever reason,
the ssh session won't proceed until the DNS query times out.  Not really
a problem, just more of an annoyance when trying to ssh to another
machine on the LAN.
评论
发表评论

您还没有登录,请登录后发表评论

pickerel
搜索本博客
最近加入圈子
存档
最新评论