router#conf t
router(config)#line vty 0 4
router(config-line)#
router(config-line)#password
router(config-line)#login
router(config-line)#end
router#
ເປີດ SSH
Switch> enable
Switch# configure terminal
Switch(config)# hostname your_hostname
Switch(config)# ip domain-name your_domain
Switch(config)# crypto key generate rsa
Switch(config)# ip ssh version 1
Switch(config)# ip ssh timeout 90 authentication-retries 2
Switch(config)# aaa new-model
Switch(config)# aaa authentication login default local
Switch(config)# aaa authorization exec local
Switch(config)# aaa authorization network local
Switch(config)# username your_user_name privilege 15 password 7 hehehehehhe
Switch(config)# end
Switch# wr
ປີດ telnet
RT01# conf t
RT01(config)#line vty 0 4
RT01(config-line)#transport input ssh
RT01(config-line)#exit
RT01(config)#end
No comments:
Post a Comment