Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to open remote telnet on RHEL5

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to open remote telnet on RHEL5". In daily operation, I believe many people have doubts about how to open remote telnet on RHEL5. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to open remote telnet on RHEL5". Next, please follow the editor to study!

1. Make sure your telnet service is open:

[root@111 ~] # chkconfig-- list | grep telnet

Ekrb5-telnet: off

Krb5-telnet: off

[root@111 ~] #

Pay attention to the results of the check. this is closed.

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 ~] #

The check has been opened.

3. Modify the login file securetty, mainly adding the terminal to be logged in.

[root@111 ~] # vi / etc/securetty

Add the following lines:

Pts/1

Pts/2

Pts/3

Pts/4

Pts/5

……

Just save and exit.

If it's chkconfig krb5-telnet on,

Will prompt Unencrypted connection refused. Goodbye.Connection closed by foreign host. Looking at the error message, it seems that the encrypted connection was rejected. I checked his configuration file and found no options for encryption, and the configuration file was very correct, so I searched google for a long circle and finally found a solution written by a foreigner:

I really needed a bit of guidance and you provided 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 for. After turning them on and off and testing my telnetconnection from another box I realised that "ekrb5-telnet" was theencrypted telnet server that I needed to turn off to run "krb-telnet" which allowed non-encrypted telnet connections.eg / sbin/chkconfig ekrb5-telnet offThanks for your help.

It turns out that ekrb5-telnet is a telnet service that needs to be encrypted. Of course, encryption is needed to start this service. Solution: change the disable in / etc/xinetd.d/ekrb5-telnet to = yes, and then restart the xinetd service service xinetd restart to OK!

At this point, the study on "how to open remote telnet on RHEL5" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report