Disable Telnet

Unanswered Question
Dec 13th, 2004

Hey guys, I upgraded my IOS this morning so that I can enable ssh server. I have ssh configured and am able to establish a connection via ssh. My question is, how do I disable telnet?

Thanks in advance,

Troy

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
tdg911 Mon, 12/13/2004 - 10:12

This seemed to work for me to disable telnet w/ ssh enabled.

conf t

line vty 0 4

transport input ssh

Can no longer telnet now.

paddyxdoyle Tue, 12/14/2004 - 00:54

Also, if you are paranoid you could add an access-list to your VTY line only allowing SSH with an explicit "deny ip any any log" to log any other attempts to connect to the VTY by protocols other than SSH.

Rgds

Paddy

Richard Burts Thu, 12/16/2004 - 12:03

The access-class which is applied to the vty ports to limit access is almost always a standard access list which can not check for protocols. It is possible to use an extended access list in an access-class but it is quite tricky and some of the things that it takes to make it work are not intuuitively obvious.

I believe that the transport input ssh is the optimum solution for this.

HTH

Rick

Actions

Login or Register to take actions

This Discussion

Posted December 13, 2004 at 9:56 AM
Stats:
Replies:3 Avg. Rating:
Views:454 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard