Linux下ssh远程连接慢解决
2016-03-30 17:43
537 查看
系统Centos7.2
解决方法:
1.编辑“/etc/ssh/sshd_config”文件,将DNS解析、GSSAPIAuthentication注释
[root@compute ~]# vim /etc/ssh/sshd_config
UseDNS 禁用DNS解析
GSSAPIAuthentication 采用Kerberos验证
[root@compute ~]# service sshd restart
2.添加主机信息
[root@compute ~]# vim /etc/hosts
3.采用"ssh -v ip地址"调试
解决方法:
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地址"调试
相关文章推荐
- Linux socket 初步
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- Linux Generating SSH Keys
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户