Centos7-安装telnet服务
yum -y install telnet-server.x86_64 yum -y install telnet.x86_64 yum -y install xinetd.x86_64
设置开机自启:
systemctl enable xinetd.service
systemctl enable telnet.socket
开启service:
systemctl start telnet.socket
systemctl start xinetd
netstat -nltp看一下是否开启了23端口,如果开启代表成功了