Telnetting to a Cumulus Switch

  • 1
  • Question
  • Updated 1 year ago

We have some older servers that will need to telnet to the Cumulus switches, however I get the connection refused.  Is there some sort of telnet package that needs to be downloaded and enabled?  I have the following in iptables, so everything (for now) should be able to telnet:


-A FORWARD -p tcp -s 0/0 -d 0/0 --dport 23 -j ACCEPT

Photo of "B"


  • 1,110 Points 1k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Paul Schmidt

Paul Schmidt, Employee

  • 240 Points 100 badge 2x thumb
I believe telnet daemon is not installed on the switch by default. However, it can be downloaded from the debian repo. For example:

1. Append the following lines to /etc/apt/sources.list:

deb wheezy main non-free
deb wheezy/updates main

2. Update the apt cache against the new repositories, and install the package telnetd:

cumulus@switch:~# sudo apt-get update
cumulus@switch:~# sudo apt-get install telnetd

Hope this helps.

Photo of "B"


  • 1,110 Points 1k badge 2x thumb
Ahh, ok...I will give that a shot, thanks!
Photo of Dave Olson

Dave Olson, MTS

  • 1,010 Points 1k badge 2x thumb
Use jessie instead of wheezy if you are on CL 3.x:

  deb jessie main contrib non-free
  deb jessie/updates main contrib non-free

Please consider using ssh instead of telnet; telnet is not a very secure way to connect to servers or switches, even if you are inside a firewall...
Photo of "B"


  • 1,110 Points 1k badge 2x thumb
Thanks Dave.  We have a handful of older servers that utilize telnet as a backup method in case SSH is misconfigured or fails.  Agreed, SSH is preferred.