2024年10月ssh连接其他Linux机器过慢怎么办?

 更新时间:2024-10-12 09:44:22

  ⑴ssh在连接其他Linux机器的时候,有时会出现这样的问题,虽然能够连接上,但连接速度很慢,非常消耗时间,下面小编就给大家介绍下ssh连接Linux机器过慢的解决方法,感兴趣的朋友可以来了解下。

  ⑵在局域网内,能ping通目标机器,并且时延是微秒级。

  ⑶用ssh连局域网内其他linux机器,会等待-秒才有提示输入密码。严重影响工作效率。

  ⑷CentOS修改后效果一样

  ⑸=================================

  ⑹客户端操作系统版本:

  ⑺cat /etc/lsb-release

  ⑻DISTRIB_ID=Ubuntu

  ⑼DISTRIB_RELEASE=.

  ⑽DISTRIB_CODENAME=karmic

  ⑾DISTRIB_DESCRIPTION=“Ubuntu .”

  ⑿=================================

  ⒀[rootIBM ~]# ssh -v ...

  ⒁OpenSSH_.p, OpenSSL ..a Feb

  ⒂debug: Reading configuration data /etc/ssh/ssh_config

  ⒃debug: Applying options for *

  ⒄debug: Connecting to ... [...] port .

  ⒅debug: connect to address ... port : Connection refused

  ⒆ssh: connect to host ... port : Connection refused

  ⒇----------------[网络上的调试信息]----------------------

  ⒈ssh -v ...

  ⒉OpenSSH_.p Debian-ubuntu, OpenSSL ..g Oct

  ⒊debug: Reading configuration data /etc/ssh/ssh_config

  ⒋debug: Applying options for *

  ⒌debug: Connecting to ... [...] port .

  ⒍debug: Connection established.

  ⒎debug: identity file /home/zhouhh/.ssh/identity type -

  ⒏debug: identity file /home/zhouhh/.ssh/id_rsa type -

  ⒐debug: identity file /home/zhouhh/.ssh/id_dsa type -

  ⒑debug: Remote protocol version ., remote software version OpenSSH_.

  ⒒debug: match: OpenSSH_. pat OpenSSH_*

  ⒓debug: Enabling patibility mode for protocol .

  ⒔debug: Local version string SSH-.-OpenSSH_.p Debian-ubuntu

  ⒕debug: SSH_MSG_KEXINIT sent

  ⒖debug: SSH_MSG_KEXINIT received

  ⒗debug: kex: server-》client aes-cbc hmac-md none

  ⒘debug: kex: client-》server aes-cbc hmac-md none

  ⒙debug: SSH_MSG_KEX_DH_GEX_REQUEST(《《 sent

  ⒚debug: expecting SSH_MSG_KEX_DH_GEX_GROUP

  ⒛debug: SSH_MSG_KEX_DH_GEX_INIT sent

  debug: expecting SSH_MSG_KEX_DH_GEX_REPLY

  debug: Host ‘...’ is known and matches the RSA host key.

  debug: Found key in /home/zhouhh/.ssh/known_hosts:

  debug: ssh_rsa_verify: signature correct

  debug: SSH_MSG_NEWKEYS sent

  debug: expecting SSH_MSG_NEWKEYS

  debug: SSH_MSG_NEWKEYS received

  debug: SSH_MSG_SERVICE_REQUEST sent

  debug: SSH_MSG_SERVICE_AEPT received

  debug: Authentications that can continue: publickey,gssapi-with-mic,password

  debug: Next authentication method: gssapi-with-mic

  debug: An invalid name was supplied

  Cannot determine realm for numeric host address

  debug: An invalid name was supplied

  Cannot determine realm for numeric host address

  debug: An invalid name was supplied

  debug: Next authentication method: publickey

  debug: Trying private key: /home/zhouhh/.ssh/identity

  debug: Trying private key: /home/zhouhh/.ssh/id_rsa

  debug: Trying private key: /home/zhouhh/.ssh/id_dsa

  debug: Next authentication method: password

  password:

  debug: Authentication sueeded (password。

  debug: channel : new [client-session]

  debug: Entering interactive session.

  debug: Sending environment.

  debug: Sending env LANG = zh_.UTF-

  Last login: Fri Dec :: from ...

您可能感兴趣的文章:

相关文章