Telnet to Linux Server

Source: Internet
Author: User
1. Install the telnet service on the server. For installation instructions, see 2. Modify the telnet configuration file and enable the telnet service. (Of course, you can also use the setup command to start the system service and check the telnet service.) 3. Restart the telnet service, modify the firewall configuration file, and open port 23 to the client. Description: Use the client telnet to log on, enable

1. Install te on the serverLnEt Service, installation process reference

2. ModifyTelnetTo enable the telnet service. (You can also useSetUpCommand, Start the system service, select the telnet service)

3. Restart the telnet service, modify the firewall configuration file, and open port 23 for client access.

Note:

Use client telnet to log on, and use a common user to log on successfully. The "Login I" prompt appears when you log on as the root user.NcOrrect "Logon Failure Information.

Telnet is not safe. By default, the root user is not allowed to use telnet to access the Linux host. To allow the root user to log on, use the following methods:

[Root @ xzh/root] # vi/etc/pam. d/login

# Auth requirEdPam_securetty.so # Add comments to this line!

Or

[Root @ echo root] #Mv/Etc/securetty. bak

In this way, the root user can directly access the Linux host. However, we recommend that you do not do this. You can also switch to the root user after a common user enters, with the root permission.

Chkconfig-- List: Check whether the service is enabled in linux.

For root User Logon Failure solutions, refer to the next page

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.