我有 linux 机器版本 red-hat 5.5.0
我有问题
如果我从我的机器 ssh 执行到其他 linux 机器 - node1 然后我快速登录到 node1
但是如果我对其他 linux 机器 node2 执行 ssh,那么 ssh 需要很长时间
请建议为什么?
需要做什么才能立即在 node2 上执行 ssh?
备注 - 在 ssh 调试中我得到了 -GSS 失败?
由于您遇到 GSS 失败,您可以尝试添加:
GSSAPIAuthentication no
Run Code Online (Sandbox Code Playgroud)
到/etc/ssh/sshd_config。然后重启服务
/etc/init.d/sshd restart
Run Code Online (Sandbox Code Playgroud)
尝试/etc/ssh/sshd_config在 node2 上添加以下行:
UseDNS no
Run Code Online (Sandbox Code Playgroud)
然后重启sshd:
/etc/init.d/ssh restart
Run Code Online (Sandbox Code Playgroud)
或者,如果上述内容不存在:
/etc/init.d/sshd restart
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
18744 次 |
| 最近记录: |