In short, Telnet is a very important protocol. Of course, users will not study this thing. However, it is good for users who are exposed to Linux system to know more about it. So if you are using this system, take a look at this tutorial to learn about it.
First, check whether the rpm package of telnet-server is installed
OS:RedHat9
[root@locahost ~]#rpm -qa telnet-server
//For security reasons telnet-server.rpm is not installed by default, and the telnet client is standard. The following software is installed by default. For the convenience of testing, please confirm //
[root@locahost ~]#rpm -qa telnet
telnet-0.17-25
If it is not installed, please install telnet-server
The third disk has telnet-server-0.17-25.i386.rpm, enter the server directory to execute
[root@locahost ~]#rpm -ivh telnet-server*.i386.rpm
Second, restart the xinetd daemon
Since the telnet service is also guarded by xinetd, so after installing telnet-server, Start telnet service, you must restart xinetd
[root@locahost ~]#service xinetd restart
Third, test
Let's first check if TCP port 23 is enabled. Normal
[root@locahost ~]#netstat -tnl |
Grep 23
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
If the above line exists, the service is already running
Further confirmation by the machine
[root@locahost ~]# telnet localhost 23
Trying telnet 127.0.0.1…
Connected to localhost.localdomain (127.0.0.1) ..
Escape character is ‘^]’.
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686
login:
If the netstat command does not return content, we will have to proceed to a more in-depth configuration.
IV. Exclude possible problems
Modify telnet service configuration file
vi /etc/xinetd.d/telnet
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root< Br>
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
How can I solve the problem that Sina mailbox cant be opened? I believe that many users have encount
The blue screen phenomenon is a common problem during the use of a computer. Recently, some users ha
What should I do if my computer file cannot be deleted? I believe many users have encountered this s
The specific operation steps are as follows: 1. Press Win+R to open the run, enter regedit
Little-known recycling method magical method
CPU overclocking caused computer blue screen solution
How to solve the problem of computer boot prompt 0xc000000f?
.net service installation uninstall command line batcmd
How to change the user access to the shared folder
The source and processing method of shutting down the host computer noise
Combined with the case to introduce the solution to the Linux server failure
System tutorial to get back the Win7 system memory mysterious missing part
How does the computer startup prompt the missing operating system?
In some European markets, Windows 10 systems account for close to Windows 7
Notebook win7 system how to set up dual network card at the same time online
What should I do if the Win7 computer camera cannot be used?
Win7 64-bit Ultimate set the font display ratio to make the font bigger
Win10 through train compatibility detection failed to do
CF National Day Leopard Training Base Activity Website Sharing Leadership for Gold AK
Master teaches you how to turn off UAC in WIN7
Win10 system offline installation and running environment .NET Framework tips