How can I enable the Telnet service on Ubuntu Server 14.04 LTS? Can somebody include a detailed description about the needed packages and configurations?

Please do note, that using Telnet is insecure because the communication is not encrypted, your passwords and all other data will be transmitted as clear texts. Use Secure Shell (SSH) instead avoiding Telnet.


To Enable Telnet

Install the Telnet server with

sudo apt-get install xinetd telnetd

The service should be fired-up automatically once the installation is done. Your may also check the service status if required using;

sudo /etc/init.d/xinetd status

To Telnet an IP

telnet serverip

If you would like to change its ports, you'll need to edit /etc/services with the line;

telnet        23/tcp 

Once changed, restart to apply the changes with;

sudo /etc/init.d/xinetd restart

More info: Install and Enable Telnet server in Ubuntu Linux

  • xinetd status says "0 available services" after running the apt-get command – Michael Feb 22 '17 at 0:35
  • You need to add the telnet service to /etc/inetd.conf. Look at ubuntuguide.net/… – Muzikant May 12 '17 at 7:10

Open terminal and run:

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

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.

reference here

Further you may refer here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.