Recently found using Xshell landing my own virtual machine very slow, found the following information:
The service side of SSH will automatically detect if the DNS environment is consistent due to the connection, modify it to not detect, and operate as follows:
Modified files:/etc/ssh/sshd_config
Find Usedns
Usedns Yes---> default to comment lines
Usedns No---> Open the note, change it to no, and then restart the SSH service.
[Email protected] ~]# vim/etc/ssh/sshd_config/usedns120 #ClientAliveCountMax 3121 #ShowPatchLevel no122 usedns no123 #P idfile/var/run/sshd.pid124 #MaxStartups 10:30:100125 #PermitTunnel no126 #ChrootDirectory none127 # no default banner path129 #Banner none130 131 # Override default of no subsystems132 Subsystem Sftp/usr/libexec/openssh/sftp-serv er133 134 # Example of overriding settings on a per-user basis:set nu
Restart the SSHD service after the change is completed
[[Email protected] ~]# service sshd Restart stop sshd: [OK] starting sshd: Determine
Re-use the Xshell connection to find that it's getting faster.
Xshll Landing Linux is a slow way to solve