When ssh is connected to other Linux machines, sometimes this problem occurs. Although it can be connected, the connection speed is very slow and it takes a lot of time. The following small series will introduce you to the slow resolution of ssh connection to Linux machines. Method, interested friends can come to understand.
in the LAN can ping the target machine, and delay microseconds.
Using ssh to connect to other Linux machines in the LAN, you will wait 10-30 seconds before you are prompted to enter your password. Seriously affect work efficiency.
CentOS has the same effect after modification
=================================
Client Operating System Version:
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME =karmic
DISTRIB_DESCRIPTION=“Ubuntu 9.10”0
============================ ======
Debugging information:
[root@IBM ~]# ssh -v 10.10.10.100
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 10.10.10.100 [10.10.10.100] port 22 .
debug1: connect to address 10.10.10.100 port 22: Connection refused
ssh: connect to host 10.10.10.100 port 22: Connection refused
----- -----------[Debugging information on the network]----------------------
ssh -v 192.168 .12.16
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1 : Connecting to 192.168.12.16 [192.168.12.16] port 22.
debug1: Connection established.
debug1: identity file /home/zhouhh/.ssh/identity type -1
debug1: identity file /home/zhouhh/.ssh/id_rsa type -1
debug1: identity file /home/zhouhh/.ssh/id_dsa type -1
debug1: Remote Protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version String SSH-2.0-OpenSSH_5.1p1 Debian-6ubuntu2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-"client aes128-cbc hmac- Md5 none
debug1 Kex: client-"server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024"1024"8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host ‘192.168.12.16’ is known and matches the RSA host key.
debug1: Found key in /home/zhouhh /.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received< Br>
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next Authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
debug1: Next authentication method: publickey
debug1: Trying private key: /home/zhouhh/.ssh/identity
debug1: Trying private key: /home/zhouhh /.ssh/id_rsa
debug1: Trying private key: /home/zhouhh/.ssh/id_dsa
debug1: Next authentication method: password
password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = zh_CN.UTF-8
Last login: Fri Dec 25 13:35:04 2009 from 192.168.11.146
Previous12Next Total 2 Pages
Those who have used Ubuntu system know that there is a software center in Ubuntu sy
Linux system If the system is at risk, you can use the zabbix telegram alarm mechanism to automatica
In the Ubuntu 10.10 system, some users have to configure the R environment for work
Linux system, lsof command can be used to find the name and number of files opened by the applicatio
Introduction to Common Disk Arrays for Linux Systems
The nohup command in the Linux system guide
How does Linux use tools to encrypt data?
Difference between Linux exit command and _exit command
How to install Linux using dstat monitoring tool
How to use sudo command to increase permissions under Linux system
How to install JITwatch in Linux system?
Steps for installing Go language on Linux system
How to use the web page editor CKEditor under Linux
Linux uses commands to clean large files. Steps
Win8.2/Win9 Concept Edition Design Collection
Kids Corner control function win8 new member?
Windows Vista lossless data partition adjustment function example
How to open local security policy
The most important 70 tips and tricks for Windows 7 (1)
Absolute Uninstaller allows users to uninstall software in bulk (2)
Win10 system can not play under the dazzling dance era has been staying in the landing
How to upload files under Baidu network disk under win7 system?
Win7 system to improve computer performance by releasing memory
Win8 prompts the application to fail to start because the parallel configuration is incorrect?