Putty连接快速,Ubuntu(linux)终端不可用
当我使用PUTTY通过Windows在云中连接时,连接最长只需3秒钟 当我通过Ubuntu连接时,它是“加载,加载,加载”。。。大约10秒后,请求输入密码,然后再等待2秒,它就会连接 为什么呢 [编辑]Putty连接快速,Ubuntu(linux)终端不可用,linux,ubuntu,ssh,putty,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 receiv
[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
尝试通过ip而不是主机名进行连接。有时名称解析时间过长时会出现延迟。问题已解决
GSSAPIAuthentication no
使用ssh时是否尝试过详细模式?您可以使用-v开关进行调试,然后转到-vvv。在linux shell上为
ssh
启用调试,向cmdline添加-v
,并在其挂起的位置发布包含标记的输出。可能,ssh首先尝试连接公钥身份验证,在使用密码验证之前。请参阅帖子中的调试:@ShahI曾经通过ip连接,从未通过主机名连接。我真的希望这能奏效。我已经为这个错误发疯好几天了