发布时间:2019-09-18 07:21:29编辑:auto阅读(3033)
1.生成RSA和DSA密钥对
[H3C]public-key local create rsa
[H3C]public-key local create dsa
2.设置用户接口上的认证模式为AAA,并让用户接口支持SSH协议
[H3C]user-interface vty 0 4
[H3C-ui-vty0-4]authentication-mode scheme
[H3C-ui-vty0-4]protocol inbound ssh
3.创建用户admin,设置认证密码为luwenju-!@# 登录协议为SSH,能访问的命令级别 为 3
[H3C]local-user admin
[H3C-luser-admin]password cipher luwenju-!@#
[H3C-luser-admin]service-type ssh level 3
4.指定用户admin的认证方式为password
[H3C]ssh user admin authentication-type password
上一篇: python读取大文件
下一篇: [Python]学习基础篇:常见的Pyt
51403
50876
41467
38245
32752
29659
28459
23379
23311
21638
1734°
2469°
2060°
1991°
2348°
2021°
2732°
4574°
4384°
3123°