cisco路由器SSH登陆高级配置


cisco路由器SSH登陆高级配置   enable  www.zhishiwu.com   configure terminal enable secret cisco service password-encryption 启用密码加密服务 aaa new-model aaa authentication login AAA_LOCAL local username sunchao secret  cicso username cocoe  secret cisco security passwords min-length 5 配置密码最小长度 hostname R1 ip domain-name sunchao.com crypto key generate rsa   access-list 10 remark Hosts allowed to SSH access-list 10 permit host 192.168.1.1 access-list 10 permit host 192.168.1.2    www.zhishiwu.com   R2(config)#line vty 0 4 R2(config-line)#logging synchronous R2(config-line)#exec-timeout 5 30 R2(config-line)#login authentication AAA_LOCAL  R2(config-line)#transport input ssh  R2(config-line)#access-class 10 in R2(config-line)#end ip ssh version 2 ip ssh timeout 30 (设置最大空闲定时器) ip ssh authentication-retries 2 (最大失败尝试次数)   R1登陆  R1#ssh -l sunchao 192.168.1.1 Open Password:  

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)

未经允许不得转载:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权!路由网 » cisco路由器SSH登陆高级配置