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.出现上述的就成功了