first run
sudo apt-get updatethen execute
sudo apt-get install xinetd telnetd
After the installation is complete, the telnet service will start
Excuting an order:
netstat -a | grep telnetIf there is output, the installation is complete.
Restart the machine or restart the network service
sudo /etc/init.d/xinetd restart
Test whether the configuration is successful (you can log in to Ubuntu through the teleent server if it is successful)
Method 1: Use TELNET client to log in remotely (putty login tool, etc.)
Method 2: Enter the IP address of telnet Ubuntu (for example: telnet 192.168.7.106) under the dos of windows (ie start→run→cmd)
If you can log in successfully, the configuration is successful