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