先执行命令
rpm -qa | grep telnet rpm -qa | grep telnet-server rpm -qa | grep xinetd
如果返回空白就是没有安装
yum install xinetd telnet telnet-server
记得把23端口打开
telnet服务是有xinetd守护的,重启xinetd服务
systemctl restart xinetd
至于想开机启动 ,修改etc/xinetd.d/telnet文件 将disable=yes 改成disable=no,(但是我的这个目录下并没有telnet,谁要是知道怎么回事+怎么搞,请留言 谢谢)
这就算成功了,想退出的话ctrl+] 在按q 就可以退出了