First step: using Yum List | grep telnet
Step Two: Use yum-y install Telnet-server telnet
Step three: Install the XINETD service and restart the XINETD service
Yum-y Install xinetd
Service xinetd Restart
Chkconfig xinetd on
Chkconfig Telnet on
Chkconfig--list | grep xinetd
Chkconfig--list | grep telnet
Fourth step: Set the root user remote login Telnet service, by default, the system does not allow the root user telnet remote login, if you want to use the root user directly login need to set the following:
echo "pts/0" >>/etc/securetty
echo "PTS/1" >>/etc/securetty
Restart Telnet service after completion
Service xinetd Restart
Fifth Step: Modify the firewall settings, open port 23rd through
Iptables-a input-m State--state new-m tcp-p TCP--dport 23-j ACCEPT
Save Firewall Policy
Service Iptables Save
To restart the Firewall service:
Service Iptables Restart
Fifth step: Log in with Windows client root Telnet
Telnet 192.168.0.168
Sixth step, modify the use of Windows to Telnet server garbled
Open a Command Prompt window first, use the CHCP command to change the code page to 65001 (UTF-8), then change the font used by the Command Prompt window to Lucida Console, and then telnet to the server (not tested, you should see the normal kanji)
C:\>chcp 65001
C:\>telnet SERVER PORT
This article is from the "Sky of Lavender" blog, be sure to keep this source http://youlei.blog.51cto.com/2669714/1636693
Telnet Service setup under Linux system