[SW]rsa local-key-pair create
[SW]ssh user test authentication-type password / 密码认证
[SW]ssh user test service-type stelnet / 服务类型
[SW]aaa
[SW-aaa]local-user test password cipher xxx /xxx设置的密码,密文
Info: Add a new user.
[SW-aaa]local-user test privilege level 3
[SW-aaa]local-user test service-type ssh /允许使用SSH访问
[SW]stelnet server enable /启用SSH服务
Info: Succeeded in starting the Stelnet server
[SW]user-interface vty 0 4 /配置vty
[SW-ui-vty0-4]authentication-mode aaa
[SW-ui-vty0-4]protocol inbound ssh
标签:aaa,SW,华为,交换机,SSH,test,local,user
From: https://www.cnblogs.com/tang-learning/p/16811526.html