How To Install And Start Telnet Server In Red Hat Linux?
Every server administrators should and must know that telnet protocol is not secure, because data packets transfer between telnet server and client not encrypted.
That’s to say, anyone who use sniffer to capture network packets can read the plain text transfer over
the network. If the packets captured contain login credentials, the server access and security control will be compromised.
Thus, by default, most Linux distributions install SSH server and not telnet. Red Hat Linux even explicitly categorize telnet server as one of the “legacy network servers”.
However, what if you really want the Linux machine running such insecure protocol?
How to install and start the insecure telnet server (in Red Hat Linux Enterprise 4)?
The running xinetd (extend Internet service daemon) listens to telnet client request on port 23 and spawn the telnet-server (/usr/sbin/in.telnetd) upon request, shut it down when telnet client drop the connection.
To confirm xinetd is listening to port 23, execute the netstat utility:
Howto, Linux, Guide, Howto, KnowHow, Linux, Redhat, Remote Access, SSH, Telnet, Tips, Tricks
» How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek
» How To Allow Root Login To Telnet Server In Linux?
» Linux: How To Backup And Restore Directory With Tar Over SSH Connection?
» How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?
» How To Create Putty-based RSA Public-key For OpenSSH Server?
» How To Fix “Server Refused Our Key” Error That Caused By Putty Generated RSA Public Key?
» How To Check What Kernel Build Options Enabled In The Linux Kernel?
« Lycos Mail – Free Email Service To Send Large Attachment Without Size Limitation
» How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek
That’s to say, anyone who use sniffer to capture network packets can read the plain text transfer over
Thus, by default, most Linux distributions install SSH server and not telnet. Red Hat Linux even explicitly categorize telnet server as one of the “legacy network servers”.
However, what if you really want the Linux machine running such insecure protocol?
How to install and start the insecure telnet server (in Red Hat Linux Enterprise 4)?
- Look for the telnet-server RPM file in the installation CD/DVD and install it from command line, e.g.
rpm -Uvh telnet-server-0.17-31.EL4.3.
Alternatively, login to GNOME Desktop, go to Application menu, System Settings, and click Add/Remove Applications to bring up Package Management window:

How to install and start telnet server in Red Hat Linux?
Select Legacy Network Server (tick the check box), click Details link to bring up Legacy Network Server Package Details window, and select Telnet-Server to proceed with the installation.
- At Linux command prompt, execute
chkconfig telnet onto allow the xinetd spawns telnet-server processes upon client requests.
Alternatively, edit the telnet configuration file (/etc/xinetd.d/telnet) and changedisable = yestodisable = no.
- Make sure the xinetd is running on your Linux default runlevel. To be sure, configure xinetd to start at runlevel 3, 4, and 5:
chkconfig --level 345 xinetd on
If xinetd is not currently running (runps -elf | grep xinetd), executeservice xinetd startorservice xinetd restartto start/restart it.
The running xinetd (extend Internet service daemon) listens to telnet client request on port 23 and spawn the telnet-server (/usr/sbin/in.telnetd) upon request, shut it down when telnet client drop the connection.
To confirm xinetd is listening to port 23, execute the netstat utility:
netstat -tulpan | grep 23
Howto, Linux, Guide, Howto, KnowHow, Linux, Redhat, Remote Access, SSH, Telnet, Tips, Tricks
» How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek
» How To Allow Root Login To Telnet Server In Linux?
» Linux: How To Backup And Restore Directory With Tar Over SSH Connection?
» How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?
» How To Create Putty-based RSA Public-key For OpenSSH Server?
» How To Fix “Server Refused Our Key” Error That Caused By Putty Generated RSA Public Key?
» How To Check What Kernel Build Options Enabled In The Linux Kernel?
Custom Search
![]() |
» How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek
























