In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to open the Telnet service in Linux system, the content is very detailed, interested friends can use it for reference, hope to be helpful to you.
Brief introduction of Telnet protocol: Telnet protocol is a member of TCP/IP protocol family and is the standard protocol of Internet remote login service. The purpose of Telnet protocol is to provide a relatively general, bi-directional, octet-oriented communication method that allows interface terminal devices and terminal-oriented processes to interact with each other through a standard process. The application of Telnet protocol can turn the computer used by local users into a terminal of the remote host system. It provides three basic services:
1) Telnet defines a network virtual terminal to provide a standard interface for remote systems. Client programs do not need to know the remote system in detail, they just need to construct programs that use standard interfaces
2) Telnet includes a mechanism that allows clients and servers to negotiate options, and it also provides a set of standard options
3) Telnet symmetrically handles both ends of the connection, that is, Telnet does not force the client to enter from the keyboard, nor does it force the client to display output on the screen.
Specific steps for enabling Telnet protocol in Linux system: check:
First, use rpm-qa | grep telnet* to see if the telnet-server software is installed.
Installation:
If not, you can use yum install telnet-server or yum install telnet to install both the server and the client. After installation, you can view it via rpm-qa | grep telnet.
Edit the configuration file:
To enable the service after installation, you need to edit the configuration file / etc/xinetd.d/telnet
[root@localhost ~] # vim / etc/xinetd.d/telnet
After saving and exiting:
Activate the service:
[root@localhost ~] # chkconfig telnet on
[root@localhost ~] # service xinetd restart [you can also use / etc/rc.d/init.d/xinetd restart here]
Stopping xinetd: [OK]
Starting xinetd: [OK]
Test:
[root@localhost pam.d] # telnet localhost
Unable to log in, solution: modify / etc/pam.d/remote, comment out: auth required pam_securetty.so
And then try to log in with telnet
[root@localhost pam.d] # telnet localhost
You can log in after entering your user name and password.
That is, the Telnet service is enabled successfully!
On the Linux system how to open Telnet services to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.