Rotten mud: [solution] Using SSH to connect to centos in Ubuntu is very slow

Source: Internet
Author: User

This article is first published in the dark world.

Over the past few days, I have used SSH to connect to the centos System in Ubuntu and found that the connection is slow. It is recommended that a connection take about 30 s. It is very pitfall, as follows:

650) This. width = 650; "Title =" clip_image001 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image001 "src =" http://img1.51cto.com/attachment/201408/29/526870_140927977802FD.png "width =" 753 "Height =" 268 "/>

Later, I found this was a bug in Ubuntu. To solve this bug, you only need to modify/etc/ssh/ssh_config. As follows:

Sudo VI/etc/ssh/ssh_config

650) This. width = 650; "Title =" clip_image002 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201408/29/526870_14092797781Ec3.png "width =" 632 "Height =" 216 "/>

Modify gssapiauthentication in the ssh_config configuration file from yes to No.

650) This. width = 650; "Title =" clip_image003 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 "src =" http://img1.51cto.com/attachment/201408/29/526870_1409279779T6vt.png "width =" 727 "Height =" 462 "/>

Then, use SSH to connect to centos again and it will soon become possible.

This article from the "muddy world" blog, please be sure to keep this source http://ilanni.blog.51cto.com/526870/1546412

Rotten mud: [solution] Using SSH to connect to centos in Ubuntu is very slow

Related Article

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.