Question : SSH on a Cisco router

Is there a way to configure a Cisco router to allow ONLY SSH access and console access?  In other words, is there a way to disable telnet, yet still allow SSH?

I generated my key pair and configured the device for SSH, but I can't figure out how to only allow SSH, and diasable telnet.

Answer : SSH on a Cisco router

line vty 0 4
transport input SSH

This will disable telnet and allow only ssh on the vty

Do the same for the console

line console 0
transport input ssh

For more info:
http://www.cisco.com/cgi-bin/Support/browse/psp_view.pl?p=Technologies:SSH&s=Implementation_and_Configuration
Random Solutions  
 
programming4us programming4us