Solution to slow ssh connection in CentOS

Source: Internet
Author: User

Solution to slow ssh connection in CentOS

Use commands

Ssh-vroot@10.10.90.204

To view the ssh debugging information, take the following steps:

Debug1: Next authentication method: gssapi-with-mic
Debug1: An invalid name was supplied
Cannot determine realm for numeric host address

Solution:

1. Add the ip address and host name of the target machine to/etc/hosts of the local machine, for example:

10.10.90.204 node4

2. Modify/etc/ssh/ssh_config, and change GSSAPIAuthentication yes to GSSAPIAuthentication no.

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.