Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3424878
  • 博文数量: 349
  • 博客积分: 5771
  • 博客等级: 大校
  • 技术积分: 4193
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-06 11:52
个人简介

it

文章分类

全部博文(349)

文章存档

2019年(2)

2018年(2)

2017年(1)

2016年(2)

2015年(18)

2014年(36)

2013年(69)

2012年(100)

2011年(62)

2010年(57)

分类: 网络与安全

2013-11-18 16:18:33

一、华为路由器或者交换机

[Huawei]rsa local-key-pair create
The key name will be: Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
       It will take a few minutes.
Input the bits in the modulus[default = 512]:1024
Generating keys...
...............++++++
..........................................++++++
............................................................++++++++
.....................++++++++

 #
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user ssh password cipher %$%$U}"a.Msd&&nGejLf;PW*/wO:%$%$
 local-user ssh privilege level 3
 local-user ssh service-type ssh
 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
 local-user admin service-type http
#
#
 stelnet server enable
#
user-interface con 0
 authentication-mode password
user-interface vty 0 4
 authentication-mode aaa
 protocol inbound ssh
user-interface vty 16 20
#

阅读(3987) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~