360ITO技术社区
  • 首页
  • 文章
  • 快讯
  • 讨论
  • 问答
  • 小贴士
  • 代码块
  • 开源
  • 老论坛
登录 | 注册

360ITO技术社区  > 小贴士

订阅小贴士

ssh连接超慢的问题排除

By 无相 at 7年前 , 2167 次点击  

ssh 连接时加-v参数,可以看到详细的连接过程

仔细看连接慢的地方

一般情况是GSSAPIAuthentication导致的

修改/etc/ssh/ssh_config文件,取消GSSAPIAuthentication:

GSSAPIAuthentication no

修改/etc/ssh/sshd_config文件,取消GSSAPIAuthentication:

GSSAPIAuthentication no

并且关闭DNS

UseDNS no

然后重启sshd

热门标签

  • android 7
  • Python 5
  • Linux 4
  • 网站性能优化 2
  • delphi 2
  • C/C++ 1
  • git 1
  • SQLite 1
  • 屏幕 1
Copyright ©2011-2012 360ITO技术社区 All Rights Reserved. | 关于 | 联系我们 | 杭州精创信息技术有限公司 浙ICP备09019653号-26|
▲