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?
12 Answers
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 telnetdThe service should be fired-up automatically once the installation is done. Your may also check the service status if required using;
sudo systemctl status xinetdTo Telnet an IP
telnet serveripIf 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 systemctl restart xinetdMore info: Install and Enable Telnet server in Ubuntu Linux
2Open terminal and run:
sudo apt-get install xinetd telnetdThe 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/tcpTo apply changes, you have to restart the service by running the command below:
sudo systemctl restart xinetdTelnet 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