Slow ssh Login In Debian

Source: Internet
Author: User
Debian ssh logon is slow. For more information about Debian, see Debian. When you connect to a Debian host through ssh, login may be slow in some cases. The slow method is that after you enter the user name,

Login as: user (past 30 seconds ...)
User@Debian.server's password :******

The host will usually wait for half a minute to ask for your password.

But it cannot be said...

In what network environment will this problem occur? XD

Generally, this is a problem caused by Reverse lookup.

In the Debian environment, Reverse Domain resolution is enabled by default.

Solution: edit/etc/nsswitch. conf.

Find the hosts line and change it to the following:

Hosts: files dns [NOTFOUND = return]
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.