In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article focuses on "what is the process of opening telnet on RHEL 5". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what is the opening process of telnet on RHEL 5"?
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 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, I believe you have a deeper understanding of "what is the process of opening telnet on RHEL 5". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.