Turn on telnet server on Debian Linux

Posted on in Categories , , last updated October 16, 2007

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 [email protected]
ssh [email protected]
ssh [email protected]

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

10 comment

  1. 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.

  2. 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

Leave a Comment