⑴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 ...