Putty连接速度快,Ubuntu(linux)终端没有

时间:2012-11-03 15:52:04

标签: linux ubuntu ssh putty

当我使用PUTTY在Windows上连接我的云时,连接最多建立3秒。

当我通过Ubuntu连接时,它是“加载,加载,加载”......大约10秒后要求输入密码,然后等待另外2秒,它就会连接。

为什么?

[编辑]
[debug] -v

debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

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

debug1: Unspecified GSS failure.  Minor code may provide more information


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

debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/patrick/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /home/patrick/.ssh/id_dsa
debug1: Trying private key: /home/patrick/.ssh/id_ecdsa
debug1: Next authentication method: password

2 个答案:

答案 0 :(得分:0)

尝试通过ip而不是主机名进行连接。当名称解析耗时太长时,有时会出现延迟。

答案 1 :(得分:0)

问题解决了!

GSSAPIAuthentication no