Ubuntu Linux enable telnet service
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:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- How do I turn on telnet service on for a Linux / FreeBSD system?
- Turn on telnet server on Debian Linux
- Limit the number of Telnet sessions coming from the same remote system
- How do I telnet as the root user?
- Increase the number of telnet sessions allowed
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: apt-get_command, debian linux, linux server, linux telnet, telnet command, telnet server, telnet service, telnetd server, Ubuntu Linux



July 13th, 2007 at 5:30 am
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
October 2nd, 2007 at 1:49 pm
sudo /etc/init.d/openbsd-inetd restartMarch 17th, 2008 at 10:30 am
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
April 14th, 2008 at 3:49 pm
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
May 28th, 2008 at 6:47 am
that means that openbsd-inetd isn’t installed =)
May 28th, 2008 at 6:49 am
sudo apt-get install telnetd