Q. How do I install and start telnet service / server under Ubuntu Linux?
A. Telnet is an insecure service. It is recommended that you use ssh service. However sometime telnet server or service is needed. Here are instructions to enable telnet:
Install telnetd server
$ sudo apt-get install telnetd
Restart inetd service:
$ sudo /etc/init.d/openbsd-inetd restart
You should now be able to telnet to the server from Windows or Linux desktop system to Ubentu Linux telnet server. Type the following command to connect to Telnet server:
$ telnet ubentu-linux-server-ip
$ telnet 192.168.1.200
$ telnet ubentu.mydomain.com
See also:
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 18 comments… read them below or add one }
I tried this with ubuntu feisty fawn and it din’t work, it says
sudo: /etc/init.d/inetd: command not found
I have telnetd installed
sudo /etc/init.d/openbsd-inetd restart:)
Running Telnet Server differs as per Linux OS you use.
If your Telnet server is not starting or you find “Connection refused…” try this for DEBIAN LINUX
sudo /etc/init.d/openbsd-inetd restart
Now try telnet..
SMile now :-)
Raghav
I’ve just installed Ubuntu Server 7.04 as LAMP & set the /etc/inetd.conf file as specified & when I try to restart the process:
sudo /etc/init.d/openbsd-inetd restart
I get “command not found” What have I done wrong?
tnx,
Phil Karras
that means that openbsd-inetd isn’t installed =)
sudo apt-get install telnetd
I would like to run telnetd, but only
on one ethernet interface (so that telnet
will be refused on every other interface).
Is there any advice on how to do this,
or hidden pitfalls? (Apart of course
from running telnet at all. But there’s
one network which i think is safe.)
hmm, I can’t connect to anything :O it’s just saying “Trying [ip_adress]…”
after that, I get a timeout :/
It works!
Thank YOU
Gracias amigo, me saco de apuros
Thank You :-)
Thank you man
you’re the best
It really works… thanks a lot dude.. I’m trying this from a month ago and it was not working.
It was really a great…. thanks once again.
while trying this command : sudo /etc/init.d/openbsd-inetd restart
I got this message:
* Restarting internet superserver inetd
* Not starting internet superserver: no services enabled
However I have installed the telnetd successfully by using this command:
sudo apt-get install inetutils-telnetd
Hi,
I ran following two commands on my laptop running edubantu
$ sudo apt-get install telnetd
$ sudo /etc/init.d/openbsd-inetd restart
Then I went to my Windows XP laptop and tried to ping/telnet the edubantu IP address but it does not recognize that.
Am I missing some thing.
-Parul
thanks . I was searching for it.
Muy util, me ha servido de maravilla. Muchas gracias! :)
Thnx buddy… it helped me… thats the nice one… :)