首页 > 其他 > 详细

华为 AP 3010 SSH 配置

时间:2014-12-04 15:50:22      阅读:333      评论:0      收藏:0      [点我收藏+]

华为 SSH 配置 

1,配置 本地RSA 密钥 

[Huawei]rsa local-key-pair create 

The key name will be: Host

% RSA keys defined for Host already exist.

Confirm to replace them? (y/n)[n]:y

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 = 2048]:512

Generating keys...

...++++++++++++

..++++++++++++

......................++++++++

.......++++++++

2.设置VTY用户只能用SSH模式

[Huawei]user-interface vty 0 4 

[Huawei-ui-vty0-4]authentication-mode aaa

[Huawei-ui-vty0-4]protocol  inbound  ssh 

3.创建aaa用户及密码

[Huawei]aaa #进入aaa

[Huawei-aaa]local-user admin password cipher 123456 #创建用户名和密码

[Huawei-aaa]local-user admin privilege level 3 #设置权限

4.配置 SSH 用户的认证方式

[Huawei]ssh user admin authentication-type password 

5.开启stelnet 

[Huawei]stelnet server enable 



华为 AP 3010 SSH 配置

原文:http://dadiwm.blog.51cto.com/1773851/1586290

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!