Telnet service setting Trilogy

Source: Internet
Author: User

Telnet is a valid remote logon protocol. Here we will introduce the settings of the Telnet service. In this case, we mainly use several simple steps to complete the operation. The specific content is as follows:

1. Check whether your Telnet service is enabled:

[Root @ 111 ~] # Chkconfig -- list | grep Telnet

Ekrb5-Telnet: off

Krb5-Telnet: off

[Root @ 111 ~] #

Note that the check result is disabled.

2. Open the Telnet service:

[Root @ 111 ~] # Chkconfig krb5-Telnet on

[Root @ 111 ~] # Chkconfig -- list | grep Telnet

Ekrb5-Telnet: offv

Krb5-Telnet: on

[Root @ 111 ~] #

Check that it has been enabled

3. Modify the login file securetty to add the terminal points to be logged on.

[Root @ 111 ~] # Vi/etc/securetty

Add the following lines:

Pts/1

Pts/2

Pts/3

Pts/4

Pts/5

......

Save and exit.

For chkconfig krb5-Telnet on

Will prompt Unencrypted connection refused. goodbye. connection closed by foreign host. the error message indicates that the encrypted connection is denied. After checking the configuration file, no encryption options are found, and the configuration file is correct, so I searched for a large circle on google and finally found a solution written by a foreigner:

I really needed a bit of guidance and you provide it. /sbin/chkconfig -- list | grep TelnetThe above command told me I had both krb5-Telnet and ekrb5-Telnet, andalso the installed Telnet all on. initially I did not know what theywere all. after turning them on and off and testing my Telnetconnection from another box I realized that "ekrb5-Telnet" was theencrypted Telnet server that I needed to turn off to run "krb-Telnet" which allowed non- encrypted Telnet connections. example/sbin/chkconfig ekrb5-Telnet off

The original ekrb5-Telnet is a need to encrypt Telnet service, the service to start on the need to encrypt of course. solution: Set/etc/xinetd. d/disable in the ekrb5-Telnet to = yes, and then restart the xinetd service xinetd restart is OK!

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.