首页 > 系统服务 > 详细

Linux下ssh远程连接慢解决

时间:2016-03-30 19:47:56      阅读:205      评论:0      收藏:0      [点我收藏+]


系统Centos7.2


解决方法:

1.编辑“/etc/ssh/sshd_config”文件,将DNS解析、GSSAPIAuthentication注释


[root@compute ~]# vim /etc/ssh/sshd_config

UseDNS        禁用DNS解析

GSSAPIAuthentication 采用Kerberos验证


UseDNS no
GSSAPIAuthentication no


[root@compute ~]# service sshd restart


2.添加主机信息 

[root@compute ~]# vim /etc/hosts

10.0.0.21       compute


3.采用"ssh -v ip地址"调试





本文出自 “RSLinux” 博客,请务必保留此出处http://readshlinux.blog.51cto.com/9322509/1758532

Linux下ssh远程连接慢解决

原文:http://readshlinux.blog.51cto.com/9322509/1758532

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!