No secrets here. Just a succinct how to on enabling SSH on a router. You can find this anywhere.
! set a hostname and domain name to use for encryption key
!
yourname (config)#hostname MyRouter
MyRouter(config)#ip domain-name MyDomain.local
!
! generate key
!
MyRouter(config)#crypto key generate rsa
(choosing 1024 will work)
!
! allow SSH on lines
!
MyRouter(config)#line vty 0 4
MyRouter(config-line)#login local
MyRouter(config-line)#transport input ssh
!
! setup a local user for access
!
MyRouter(config)#username MYUSERNAME privilege 15 secret MYPASSWORD
MyRouter(config)#line vty 0 4
!
! set SSH version as 2
!
MyRouter(config)#ip ssh version 2
No comments:
Post a Comment