linux :How do I turn on telnet service on ubuntu?

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections.

The telnetd program (telnet server) is a server which supports the DARPA telnet interactive communication protocol. Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by the /etc/services file. Usaually telnet listen on port TCP port 23.

Telnet in is insecure protocol and it is recommended that you use ssh server.

Installation command

kartook@K:~$ sudo apt-get install telnetd

Installation output …

kartook@K:~$ sudo apt-get install telnetd
[sudo] password for kartook:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
nspluginwrapper libuniconf4.6 libwvstreams4.6-extras libwvstreams4.6-base
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
The following NEW packages will be installed:
openbsd-inetd telnetd
0 upgraded, 2 newly installed, 0 to remove and 31 not upgraded.
Need to get 84.7kB of archives.
After this operation, 324kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 lucid/main openbsd-inetd 0.20080125-4ubuntu2 [38.5kB] Get:2 lucid/universe telnetd 0.17-36build1 [46.2kB] Fetched 84.7kB in 5s (16.4kB/s)
Selecting previously deselected package openbsd-inetd.
(Reading database … 203435 files and directories currently installed.)
Unpacking openbsd-inetd (from …/openbsd-inetd_0.20080125-4ubuntu2_amd64.deb) …
Selecting previously deselected package telnetd.
Unpacking telnetd (from …/telnetd_0.17-36build1_amd64.deb) …
Processing triggers for man-db …
Processing triggers for ureadahead …
ureadahead will be reprofiled on next reboot
Setting up openbsd-inetd (0.20080125-4ubuntu2) …
* Stopping internet superserver inetd [ OK ] * Not starting internet superserver: no services enabled

Setting up telnetd (0.17-36build1) …
Adding user telnetd to group utmp


Now it s ready to use the telnet and supply password and enjoy the service ..

kartook@K:~$ telnet
Connected to
Escape character is ‘^]’.

User Access Verification




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.