Now the management of Linux has been very few people use Telnet, the basic use of CRT, Xshell or putty. Because the next need to speak Zabbix-free client monitoring only Telnet, through Telnet to monitor server performance.
Yum Install Telnet
Yum Simple and quick installation
Yum Install Telnet-server
Configure Telnet
Telnet is placed in the xinetd, the disable is changed to Yes, as follows:
# 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 use the Telnet login with root, plus pts/0, pts1, or skip this step
# Cat/etc/securetty | grep pts
pts/0
Pts/1
Pts/2
Pts/3
Start Telnet
# service XINETD Start
Starting xinetd: [OK]
confirm whether to start
# Netstat-lnt | grep:23
tcp 0 0:: 23& nbsp; :::* LISTEN
Create normal user
If you already have a user, you can skip this step
# useradd Ttlsa # Create user
# passwd Ttlsa # Modify password
changing password for user ttlsa.
New password:
Retype new password:
Passwd:all authentication tokens updated.
telnet Connection test
Use root login
CentOS release 6.5 (Final)
Kernel 3.15.4-x86_64-linode45 on a X 86_64
Login:root
Password:
Last Login:thu Feb a 08:37:11 from 58.246.52.46
[root@li220-237 ~]#
Normal User Login
CentOS release 6.5 (Final)
Kernel 3.15.4-x86_64-linode45 on a x86_64
Login:ttlsa
Password:
$ W
08:41:05 up 199 days, 21:57, 2 users, load average:0.00, 0.01, 0.05
USER   &N Bsp tty from login@ idle jcpu pcpu WHAT
ttlsa pts/1 51.241.12.49 08:40 1.00s 0.00s 0.00s w
root pts/0 51.241.12.49 08:27 1:37 0.01s 0.01s-bash
$