How to disable Telnet on a switch

Unanswered Question
Nov 16th, 2009

I would like to disable Telnet on a Cisco 3560G switch. I have seen all over the web that the way to it is by:

line vty 0 4

transport input ssh

However, this doesn't work for me. SSH is not a valid transport on my switch. The only allowable transports are "All", "None" or "telnet". If I try SSH it gives the invalid input error.

I'm assuming this is because SSH is defaulted on Catalyst switches, but how can I remove Telnet?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
Jon Marshall Mon, 11/16/2009 - 12:39

Well you can use "transport input none" but be aware that you then can't remotely access the switch.

The reason SSH is not an option is probably because you need an IOS version that supports SSH for your switch.

Jon

king06aaa Mon, 11/16/2009 - 12:57

SSH is enabled on the switch. That's what I use all of the time. I'm afraid that if I use "none" I won't be able to access it with SSH then. Is that correct?

Jon Marshall Mon, 11/16/2009 - 13:01

Steve

Oops, sorry i misunderstood your original post. Yes, definitely do not use "transport input none" as this will indeed lock you out of the switch.

Which IOS version are you running on the switch ?

Jon

Actions

Login or Register to take actions

This Discussion

Posted November 16, 2009 at 12:25 PM
Stats:
Replies:4 Avg. Rating:
Views:1129 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard