[Quick Tip] Enable Telnet Service in Ubuntu 14.04

Last updated: December 20, 2014

Ubuntu-tips

This is quick tutorial that shows you how to install and setup a Telnet server in Ubuntu 14.04 LTS.

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections. It allows one computer to access a command-line interface on a remote host.

Telnet is insecure because the communication is not encrypted, your password and all other data will be transmitted as clear text. If possible avoid Telnet, and use Secure Shell (SSH) instead.

If you really want to enable the Telnet in Ubuntu, just run the command below in text console (terminal) to install Telnet server:

sudo apt-get install xinetd telnetd

The Telnet service is started automatically once the installation is done. And you can either run telnet serverip or use a Telnet client (PuTTy, SecureCRT, etc.) to access this server.

To change the port (default is 23), edit the /etc/services file with your favorite text editor. Find out and change the number in the line below:

telnet        23/tcp 

To apply changes, you have to restart the service by running the command below:

sudo /etc/init.d/xinetd restart

More configurations, see this document.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

3 responses to [Quick Tip] Enable Telnet Service in Ubuntu 14.04

  1. Many Thanks, this one worked for Ubuntu 14.04 server (LAMP).
    Great article. Good luck

  2. Ji,
    Do you have any suggestions for jailing the Telnet command? I would like to use my server to have people telnet into my server and then telnet to other sites as well. Similar to BBS’s of the 90’s. But as insecure as it is I want to implement this in a chroot environment if possible.
    Thanks,
    Dean

  3. I need about All short cut keys and usage including Basic software installation