ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ssh登录慢问题解决方法

ssh登录慢问题解决方法

原创 Linux操作系统 作者:shytodear 时间:2015-06-23 14:08:20 0 删除 编辑

 1、关闭 SSH 的 DNS 反解析:

# vi /etc/ssh/sshd_config
将
#UseDNS yes
改为
UseDNS no

2、禁用GSSAPI安全接口
将GSSAPIAuthentication yes一行注释去掉,
改为GSSAPIAuthentication no

3、重启sshd服务
# service sshd restart

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27126919/viewspace-1709065/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-05

  • 博文量
    66
  • 访问量
    238106