Thursday, September 10, 2015

Enable ssh on a cisco router

Login to the router via com or aux port.

Router>enable
Router#config t
Router(config)#hostname myRouter
myRouter(config)#username s86d password cisco

myRouter(config)#crypto  key generate rsa-general-keys modulus 1024
myRouter(config)#ip ssh version 2

myRouter(config)#line vty 0 4
 myRouter(config-line)#transport input ssh
 myRouter(config-line)#login local
myRouter(config-line)#exit
 myRouter(config)#copy running-config startup-config

No comments:

Post a Comment