记录华为交换机5352 SSH合规问题

发布时间:2021-10-21

1.生成本地RSA密钥

[Huawei-5352-SW02] rsa local-key-pair create

2.创建本地用户gojogo,设置用户接口上认证模式为AAA认证

[Huawei-5352-SW02] local-user gojogo password ciper gojogo
[Huawei-5352-SW02-user-client001] local-user gojogo service-type ssh
[Huawei-5352-SW02]user-interface vty 0 4
[Huawei-5352-SW02-user-vty0-4] authentication-mode aaa

3.设置设备上远程用户登录协议为SSH

[Huawei-5352-SW02-user-vty0-4] protocol inbound ssh
[Huawei-5352-SW02] ssh user gojogo authentication-type password

4.选择一台作为跳机做测试

<Huawei-5352-SW01>sys
[Huawei-5352-SW01]stelnet ip地址
[Huawei-5352-SW01]输入username
[Huawei-5352-SW01]y
[Huawei-5352-SW01]y
[Huawei-5352-SW01]输入password
<Huawei-5352-SW02>

5.出现上述的就成功了

打赏


哇 你要支持我吗?太慷慨了!谢谢
上一篇
下一篇