[Linux] solutions to long wait time for SSH to connect to the remote host

Source: Internet
Author: User

[Linux] solutions to long wait time for SSH to connect to the remote host

When I recently used SSH to connect to a remote host, I found that it takes a long time to enter the password after entering the SSH command, the prompt for entering the password is displayed immediately on other machines. I am very upset. Who makes us acute! So I don't want to wait that way, just look for a solution. Finally, our machine can connect to the remote host in seconds!

The solution is as follows:

1. First find the/etc/ssh/ssh_config File

2. Use vim's root permission to open the file and edit it.

3. Remove '#' from line 27 before # GSSAPIAuthentication no.


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.