Telnet installation and use under Linux

Source: Internet
Author: User

Now management Linux Basic with CRT, Xshell or putty, there is no one with Telnet, because the subsequent need to talk about Zabbix-free client-side monitoring only Telnet, through Telnet to monitor server performance.

Yum Install Telnet

Yum installation is quick and easy

1 Yum install telnet-server

Configure Telnet

Telnet is placed in the xinetd, change disable to Yes, as follows:

1234567891011121314 # vim/etc/xinetd.d/telnet# Default:on# description:the Telnet Server serves Telnet sessions; it uses \# unencrypted Username/password pairs for authentication.service telnet { flags = reuse socket_type = stream wait = no user = root server = /usr/sbin/in. telnetd log_on_failure + = USERID Disable = no # change from Yes to no }

If you need to log in with root using Telnet, add pts/0, Pts1, or skip this step

12345 # Cat/etc/securetty | grep pts pts/0 pts/1 pts/2 pts/3

Start Telnet

12 # service xinetd start starting xinetd: [ OK ]

Confirm whether to start

12 # netstat-lnt | grep:23 tcp        0      0 :::23                         :::*                          listen

Create a normal user

If you already have a user, you can skip this step

123456 # useradd Ttlsa # Create user# passwd Ttlsa # Change Passwordchanging password for user Ttlsa. New password: Retype new password: passwd: All authentication tokens updated successfully.

Telnet connection test

Log in with Root

123456 CentOS Release 6.5 (Final) Kernel 3.15.4-x86_64-linode45 on an x86_64 login: root Password: last login: Thu Feb: panax notoginseng : from 58.246.52.46 [root@li220-237 ~]#

Normal User Login

12345678910 CentOS Release 6.5 (Final) Kernel 3.15.4-x86_64-linode45 on an x86_64 login: ttlsa Password: $ w 08:41:05 up 199 days 21:57,  2 users,  load Span class= "crayon-v" >average: 0.00, 0.01 0.05 user     TTY       from               LOGIN @   idle   jcpu   PCPU what ttlsa    pts /1    51.241.12.49     08< Span class= "Crayon-o" >:40    1.00s  0.00s  0.00s w Root pts/0 51.241.12.49 : 1:PNS c16>0.01s 0.01s -bash $

Telnet installation and use under Linux

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.