About the Telnet,ftp,ssh login slow issue

Source: Internet
Author: User
Issue This article describes how to resolve the problem of telnet,ftp SSH login in DNS environment.


Answer

For systems that use DNS, the problem of remotely initiating telnet,ftp SSH logins is slow .

1. Check DNS configuration
Please check the/etc/resolv.conf file to make sure the configuration is correct.
If you do not use DNS in your system, delete the/etc/resolv.conf. (Not emptied, please delete directly)

2. Setting up Telnet,FTP Service
Edit/etc/inetd.conf file, add parameter C in Telnet and ftp stream tcp6 nowait root usrsbinftpd ftpd-c
Telnet stream tcp6 nowait root usrsbintelnetd telnetd-a-C
Refresh the inetd service
# refresh-s inetd

(2) SSH service
To edit the/etc/ssh/sshd_config file, set the Usedns option to No, as follows
Usedns No
Restarting the SSHD service
# stopsrc-s Sshd
# startsrc-s Sshd

About the Telnet,ftp,ssh login slow issue

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.