sudo apt-get update
sudo apt-get install xinetd telnetd
sudo /etc/init.d/xinetd restart
netstat -a | grep telnet
telnet ip地址
若出现了无法访问的情况,请考虑是否开启了防火墙端口:23
防火墙教程地址:https://www.cnblogs.com/Cikaros/p/12407787.html
原文:https://www.cnblogs.com/Cikaros/p/12407862.html