The Linux server of the newly installed project team wants to access the Linux server through telnet in Windows, and prompts that the connection to port 23 fails, although SSH is more secure, I also use the SSH service for remote access, but I just want to install the telnet service so that other colleagues can use the telnet service to access the server. First, the telnet service is composed of xinet
The Linux server of the newly installed project team,
To use te in WindowsLnThe et Service accesses the Linux server,
Even though SSH is more secure, I also use the SSH service for remote access.TelnetTo facilitate other colleagues to use the telnet service to access the server.
The telnet service is protected by xinetd. Therefore, you must first install the xinetd service.
**************************************** **********************************
Reference a professional description:
Linux provides services by running daemon on the background.
The daemon is used to open a port and wait for the connection to enter. In C/S mode, if the client requests a connection, the daemon creates a (fork) sub-process to respond to the connection, and the parent process continues to listen to requests from other services. However, if every service provided by the system must run a daemon that listens to a port connection, it usually means a waste of system resources. To this end, the "extended network daemon service program" xinetd (xinetd internet daemon) is introduced ).
**************************************** **********************************
1. Check whether xinetd is installed first.
Rpm-qa |GrepXinetd
If not, download the corresponding rpm package or source code package.
2. Install xinetd
Rpm-ivh xinetd-2.3.14-11.i386.rpm
After installationChkconfig-- List: the xinetd service is displayed.
3. Check whether telnet is installed.
By default, telnet-client is installed, but telnet-server is not installed. Therefore, windows cannot telnet to a Linux host.
Rpm-qa | grep telnet
The content is displayed. The client has been installed. (You cannot use rpm-qa telnet-client here. Otherwise, you will be prompted that the client has not been installed)
Rpm-qa telnet-server
No detailed software version is available and not installed. That is to say, the telnet service is not installed.
4. Install telnet-server
Rpm-ivh telnet-server-0.17-28.i386.rpm
After installation, you can see that telnet is appended to the xinetd service through chkconfig -- list.
5. Modify the telnet configuration file
Vi/etc/xinetd. d/telnet
Disable = no
6. Restart the xinetd service.
Service xinetd restart