Solve the problem of slow login to linuxtelnetssh

Source: Internet
Author: User
Solve the problem of slow login to linuxtelnetssh-Linux Enterprise Application-Linux server application information. The following is a detailed description. Author: Peng

1. A linux server has been slow to log on. After logging on to the server, everything is normal, and you may suspect that the login settings are caused.

2. Locate the cause and solve the problem.

Solution:

# More/etc/resolv. conf

; Geenerated by/sbin/dhclient-script

Nameserver 140.16.16.6

Modify the file to the IP address of the Local Machine, 140.16.17.127 (this machine is used in the LAN and no longer goes through the DNS service)



Restart the network service:

# Serive network restart <Doubt, why does ssh fail when the network service restarts?>

Log On after exiting, and the speed is very fast.

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.