≡ Menu

Turn on telnet server on Debian Linux

Q. How do I install and turn on telnet server on Debian Linux VPS Server?

A. I don’t recommend using telnet at all on VPS or any other Linux / UNIX server. Telnet transfers all data including passwords in clear text format. It is recommended that you use ssh which is installed by default.

Use ssh and connect to remote server called boo.myvps.com, enter:
ssh user@boo.myvps.com
ssh root@boo.myvps.com
ssh root@server-ip-address

In case you still need telnet, type the following two commands (not recommended
# apt-get install telnetd
# /etc/init.d/inetd restart
$ telnet server-ip-address

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 10 comments… add one }
  • Shailesh Kumar May 8, 2009, 7:13 pm

    I did the steps given here but the telnet does not seem to be up and running. I am using DSL (Dam Small Linux). It gives me connection refused on the other linux system.

  • tika October 29, 2009, 1:38 pm

    i need to now who to use telnet in debian

  • yacout March 11, 2010, 8:03 am

    I have not this file



    • matto June 4, 2010, 10:21 am

      try /etc/init.d/openbsd-inetd restart

      • Carlos April 28, 2015, 12:27 am

        Thx dude

  • BOBG January 27, 2011, 2:10 pm


  • Elbaf February 2, 2011, 2:36 pm

    Do what matto said BOBG , in Debian 5 inetd is openbsd-inetd

    hence /etc/init.d/openbsd-inetd restart

  • Sharif September 8, 2015, 11:52 am

    “E: Couldn’t find package telnetd” in debian,
    what should I need to do??

  • Chris H May 9, 2016, 4:55 pm

    Please note that these instructions are specifically for installing and running telnet SERVER. Based on the comments here, some of you are looking for the telnet CLIENT. If you need just the telnet client, try:

    sudo apt-get update
    sudo apt-get install telnet

  • estevan September 22, 2016, 2:37 pm

    Nice post :v

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , ,