ubuntu 安装telnet服务
- 首先更新
sudo apt-get update
- 安装相应服务
sudo apt-get install xinetd telnetd
- 重启服务
sudo /etc/init.d/xinetd restart
- 测试服务是否启动
netstat -a | grep telnet
- 利用telnet工具登录
telnet ip地址
注意
若出现了无法访问的情况,请考虑是否开启了防火墙端口:23
防火墙教程地址:https://www.cnblogs.com/Cikaros/p/12407787.html
来源:https://www.cnblogs.com/Cikaros/p/12407862.html