Ubuntu16.04 install telnet service

first run
sudo apt-get update
then execute
sudo apt-get install xinetd telnetd

After the installation is complete, the telnet service will start

Excuting an order:

netstat -a | grep telnet
If 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


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325522065&siteId=291194637