ubuntu 客户端ssh连接服务器速度缓慢

ubuntu每次去连接ssh总是有10秒+的感觉

原因:打开ssh -v debug模式后发现域名解析问题

debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

解决:编辑ssh_config

vi /etc/ssh/ssh_config
GSSAPIAuthentication yes改为no即可

你可能感兴趣的:(ubuntu 客户端ssh连接服务器速度缓慢)