Optimizations for long wait times for Linux remote

Source: Internet
Author: User

Recently found that most of the production server used in the work, through the Securecrt/xshell/putty terminal software to SSH connection, waiting for the prompt to enter the password for a long time, always need more than 5 seconds, after observation found that the original is Sshd_ The cause of configuration in config;

Vim Open/etc/ssh/sshd_config

1. Find "Gssapiauthentication yes" to modify it to "Gssapiauthentication no"

2. Find "Usedns yes" to modify it to "Usedns no"

Restart SSHD Services: Service sshd Restart | | /etc/init.d/sshd restart

At this point, you can ssh to the server again to see if the speed has become faster.


This article is from the "less stubborn" blog, please be sure to keep this source http://xushaojie.blog.51cto.com/6205370/1675205

Optimizations for long wait times for Linux remote

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.