Xshll Landing Linux is a slow way to solve

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.