Using Telnet under Linux system can realize remote control of Web server. Users can input relevant commands in Telnet to control frequently. How to install and use Telnet under Linux?
Now management has very few people use linux telnet, basically with crt, xshell or putty. Here's how to monitor server performance through telnet.
First, yum install telnet
yum install telnet-server
Second, configure telnet
telnet is placed in xinetd, disable 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 telnet to log in with root, plus pts/0, pts1, otherwise skip this step
# cat /Etc/securetty |
Grep pts
pts/0
pts/1
pts/2
pts/3
Third, start telnet
# service xinetd start
Starting xinetd: [ OK ]
4. Confirm whether to start
# netstat -lnt |
Grep :23
tcp 0 0 :::23 :::* LISTEN
V. Creating a normal user
If you already have a user, you can skip this step.
# useradd ttlsa # Create User
# passwd ttlsa # Change Password
Changing password for user ttlsa.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
VI. telnet connection test
login using root
CentOS release 6.5 (Final )
Kernel 3.15.4-x86_64-linode45 on an x86_64
login: root
Password:
Last login: Thu Feb 12 08:37 :11 from 58.246.52.46
[root@li220-237 ~]#
Ordinary User Login
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, 2 1:57, 2 users, load average: 0.00, 0.01, 0.05
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
ttlsa pts/1 51.241.12.49 08:40 1.00s 0.00s 0.00sw
root pts/0 51.241.12.49 08:27 1:37 0.01s 0.01s -bash
$
The above is the introduction of Linux installation using Telnet. After installing Telnet, you need to perform Telnet connection test, including root login and normal user login.
Linux users in the process of using, sometimes encountered Fatal error, run database recovery and ot
Recently, users have reported that the Ubuntu system installed in the virtual machine found that the
texmaker is an editing tool with a latex editing environment, and after installing texlive, how to i
of configuring KVM network in RedHat KVM is a virtual machine. After installing KVM on RedHat syste
How to achieve synchronization between different terminals in Linux system
RHEL 6.0 system sudo switch user is too slow how to do?
Linux installation using eCryptFS to encrypt files
Linux installation of Fedora through BFO Step
Linux configuration minicom step
View the Linux version of the skill
What should I do if the Java process under Linux system disappears without cause?
What should I do if libpng fails to compile after Gentoo upgrade?
How to use the command to synchronize the clock under Linux
How to quickly switch the old server IP to the new server under Linux
Linux ssh connection prompts The authenticity of how to remove?
Win10 system prompt: can not open the solution for this application
Solve win7 can not modify the hosts file method
Disable service in win7 computer to extend the life of hard disk
How does the Win10 system manage credentials? Win10 method to delete Windows credentials
9 major methods to solve the problem of forgetting the XP login password
Microsoft completely terminated Windows XP MSE security protection today
Free access to Windows 8 Media Center keys