加入收藏
最新动态
最新动态
Cisco

cisco ssh本地认证登陆配置

来源:未知 作者:admin 人气: 时间:2014-02-07

 cisco ssh本地认证登陆配置

  router(config)#hostname RA

  RA(config)#ip domain-name cisco.com

  RA(config)#enable secret 123

  RA(config)#interface fastethernet 0/0

  RA(config-if)#ip address 192.168.1.1 255.255.255.0

  RA(config-if)#no shutdown

  RA(config-if)#exit

  RA(config)#crypto key gererate rsa general-keys modulus 1024

  /*

  可选配置

  RA(config)#ip ssh time-out 120

  RA(config)#ip ssh auth 3

  */

  RA(config)#username admin privilege 15 password 123

  RA(config)#line vty 0 4

  RA(config-line)#password 123

  RA(config-line)#login local

  RA(config-line)#exit

  也可以使用本地AAA认证来验证用户:即将login local 去掉,在全局配置模式下加上 aaa new-model

  • 用友
  • IBM
  • oracle
  • 联想
  • 华为
  • 思科
  • 公司地址:广州市天河区燕岭路95号四楼404室A20 邮编:510000
    电话:020-31600147 传真:020-31600147
      Copyright © 2015-2024 yunyuns.cn 云云(广州)科技有限公司 版权所有 ICP备13000495号-10