CentOS 7.4安装telnet服务端
# yum -y install xinetd
# yum -y install telnet-server telnet
[root@test ~]# cat /etc/xinetd.d/telnet
# default: yes
# description: The telnet server servestelnet 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
}
systemctl restart xinetd.service
systemctl enable xinetd.service
systemctl enable telnet.socket