Telnetting to a Cumulus Switch


Userlevel 1
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:
[iptables]
-A FORWARD -p tcp -s 0/0 -d 0/0 --dport 23 -j ACCEPT

4 replies

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 http://ftp.us.debian.org/debian/ wheezy main non-free
deb http://security.debian.org/ 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.

Paul

Userlevel 1
Paul Schmidt wrote:

I believe telnet daemon is not installed on the switch by default. However, it can be downloaded ...

Ahh, ok...I will give that a shot, thanks!
Userlevel 3
Paul Schmidt wrote:

I believe telnet daemon is not installed on the switch by default. However, it can be downloaded ...

Use jessie instead of wheezy if you are on CL 3.x:

deb http://http.debian.net/debian jessie main contrib non-free
deb http://security.debian.org/debian-security 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...

Userlevel 1
Paul Schmidt wrote:

I believe telnet daemon is not installed on the switch by default. However, it can be downloaded ...

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.

Reply