1. 华为交换机配置ssh
# 生成密匙
[Huawei] rsa local-key-pair create
# 配置vty
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
[Huawei-ui-vty0-4] protocol inbound all (或者仅 ssh)
# 创建ssh用户,配置password认证
[Huawei] ssh user admin
[Huawei] ssh user admin authentication-type all (或者仅用 password)
[Huawei] aaa
[Huawei-aaa] local-user admin password cipher MyPassword
[Huawei-aaa] local-user admin privilege level 15
[Huawei-aaa] local-user admin service-type telnet ssh(或者仅保留 ssh)
[Huawei] ssh user admin service-type all
# 开启stelnet功能
[Huawei] stelnet server enable
[Huawei] ssh server port 43000
标签:aaa,admin,备份,Huawei,user,网络设备,local,远程,ssh
From: https://www.cnblogs.com/liujitao79/p/18068502