Telnet Service setup under Linux system

Source: Internet
Author: User
Tags server port

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.