Installation configuration for Telnet in CentOS 6.9

Source: Internet
Author: User

Telnet : TCP/IP a member of the agreement is Internet the standard protocol and primary method for remote login services. It provides users with the ability to perform remote host work on the local computer. To start a Telnet Session, you must enter a user name and password to log on to the server. Telnet is a common way to remotely control a Web server, listening to the TCP Port number.


xinetd: A new generation of network Super daemons, often used to manage a variety of lightweightInternetservice. xinetdprovides similar toInetd+tcp_wrapperfeatures, but it's more powerful and more secure. xinetdability to listen to multiple specified ports at the same time, when accepting user requests, it can initiate different network service processes to handle these user requests depending on the user's request port. can putxinetdas a Management server that manages the start-up service, it decides which program to process a client request to, and then initiates the appropriate daemon. xinetdrun and listen to services on all the ports it manages every time. When a request arrives for a service to which it is managed,xinetdThe appropriate server will be started for the service.


1. Demo Environment:

192.168.1.144:centos 6.9 x86_64,telnet Server

192.168.1.146:centos 7.4 x86_64,telnet Client

192.168.1.220:windows 10,telnet Local Client


2. 192.168.1.144 on the installation configuration Telnet Service side:

# yum-y Install Telnet-server

# chkconfig--list

650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M01/A5/AE/wKioL1nBzoaClooGAACYvMxbWhY577.jpg "title=" 1.jpg "Width=" "height=" 287 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:600PX;HEIGHT:287PX; "alt=" Wkiol1nbzoacloogaacyvmxbwhy577.jpg "/>


Telnet is a transient daemon based on the Super Daemon management process

# chkconfig Telnet on// This step must be performed or it cannot be monitored at Port number

# Chkconfig xinetd on// This step must be performed or it cannot be monitored at Port number

# chkconfig--list

650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/06/FD/wKiom1nBzu7xYOE3AACYRR4b7Es179.jpg "title=" 2.jpg "Width=" "height=" 287 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:600PX;HEIGHT:287PX; "alt=" Wkiom1nbzu7xyoe3aacyrr4b7es179.jpg "/>


Start Telnet :

650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/A5/AE/wKioL1nBztCyD2SkAABRZEijYds188.jpg "title=" 3.jpg "Width=" "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:600px;height:88px; "alt=" Wkiol1nbztcyd2skaabrzeijyds188.jpg "/>


3. 192.168.1.146 installed on Telnet the client and test it:

# yum-y Install Telnet

Telnet not allowed by default Root users log in directly, using the service side of the normal user Marion Login

650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M01/06/FD/wKiom1nBzxvBHxBpAACiVh-0ks4170.jpg "title=" 4.jpg "Width=" "height=" 237 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:400PX;HEIGHT:237PX; "alt=" Wkiom1nbzxvbhxbpaacivh-0ks4170.jpg "/>


4, 192.168.1.220 telnet

Control Panel program  -->  enable or disable windows function  -->  install telnet client

650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M00/06/FD/wKiom1nBzz7TjGT0AADKcJx6y3w021.jpg "title=" 5.jpg "Width=" height= "364" border= "0" hspace= "0" vspace= "0" style= "width:360px;height:364px;" alt= " Wkiom1nbzz7tjgt0aadkcjx6y3w021.jpg "/>


Run as Administrator cmd :

650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/A5/AE/wKioL1nBzyOjIntLAABHNV0lTOo568.jpg "title=" 6.jpg "Width=" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:400px;height:95px; "alt=" Wkiol1nbzyojintlaabhnv0ltoo568.jpg "/>


You can only use normal users to log in:

650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M01/06/FD/wKiom1nBz2_SO-LnAABNk4tOV1Y071.jpg "title=" 7.jpg "Width=" "height=" 173 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:400px;height:173px; "alt=" wkiom1nbz2_ So-lnaabnk4tov1y071.jpg "/>


5. 192.168.1.144 of the Telnet server-side installation httpd Service and start:

# yum-y Install httpd

# service httpd Start

# SS-TUNLP | Grep:80


6. 192.168.1.220 of the Telnet The local client tests the service side of the the Port:

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/06/FD/wKiom1nBz4miydtHAAB3KuJ4CWs986.jpg "style=" width : 360px;height:99px; "title=" 8.jpg "width=" height= "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1nbz4miydthaab3kuj4cws986.jpg "/>

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/A5/AE/wKioL1nBz1byBJuaAAAUt6hKEsA380.jpg "style=" width : 180px;height:59px; "title=" 9.jpg "width=" "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1nbz1bybjuaaaaut6hkesa380.jpg "/>

describes the service-side the the port is open


7. 192.168.1.144 of the Telnet service-side shutdown httpd Service:

# Service HTTPD Stop

# SS-TUNLP | Grep:80


8. 192.168.1.220 of the Telnet The local client tests the service side of the the Port:

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/06/FD/wKiom1nBz6DCNLQjAABssIG8rzQ143.jpg "title=" 10. JPG "width=" "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:500px;height:76px; "alt=" Wkiom1nbz6dcnlqjaabssig8rzq143.jpg "/>



This article is from the "Tiandaochouqin" blog, make sure to keep this source http://qiuyue.blog.51cto.com/1246073/1967044

Installation configuration for Telnet in CentOS 6.9

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.