cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1590
Views
0
Helpful
3
Replies

Disable Telnet

tdg911
Level 1
Level 1

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

3 Replies 3

tdg911
Level 1
Level 1

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.

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

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

HTH

Rick