ubuntu开启telnet
1:sudo apt-get install openbsd-inetd
2:sudo apt-get install telnetd
3:sudo gedit /etc/inetd.conf
如果没有下面这句话,就添加进去:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
4:sudo /etc/init.d/openbsd-inetd restart