Setting Up a Telnet Server in Ubuntu

Setting Up a Telnet Server in Ubuntu
Telnet is a terminal emulation program for TCP/IP networks such as the Internet. The Telnet program runs on your computer and connects your PC to a server on the network. You can then enter commands through the Telnet program and they will be executed as if you were entering them directly on the server console. This enables you to control the server and communicate with other servers on the network. To start a Telnet session, you must log in to a server by entering a valid username and password. Telnet is a common way to remotely control Web servers.


Install Telnet Server in Ubuntu


You will find the Telnet server installation packages in Synaptic under the telnetd package.If you want to install telnet server package you can also use the following command
sudo apt-get install telnetd
This will complete the installation.Now you Restart inetd service using the following command
sudo /etc/init.d/inetd restart
Once installed, select Administration, Services and enable Telnet
you can now fire up your other Linux box and type telnet . You are prompted to enter your username and password. The whole conversation should look like this
telnet 192.168.0.1
Trying 192.168.0.1…
Connected to 192.168.0.1 (192.168.0.1)
Escape character is ‘^]'.
Welcome to telnetserver
Running Ubuntu LAMP server
* All access is logged *

login: admin12
Password:

Last login: Sat Dec 25 1:05:1 from 192.168.0.1
[admin12@telnetserver ~]$