Xshell a slow connection at remote times

Source: Internet
Author: User

I. Problems that arise

When you use the shell to connect to the virtual machine, the connection waits too long, theservice side of SSH automatically detects whether the DNS environment is consistent due to the connection, and is modified to not detect.


Second, the solution

1. Open the configuration file of sshd service/etc/ssh/sshd_config, change Usedns Yes to Usedns no



650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/88/78/wKioL1f5ls2AkxgyAABPN0qldI4501.png "title=" ~ 7x3mb4fae) V54XTP2 ' @9fh.png "alt=" Wkiol1f5ls2akxgyaabpn0qldi4501.png "/>


2. Restart the SSHD service

/etc/init.d/sshd restart





This article is from the "Small Ears" blog, please be sure to keep this source http://purify.blog.51cto.com/10572011/1859651

Xshell a slow connection at remote times

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.