[h3c]public-key local create rsa
回車
[h3c]public-key local create dsa
回車
[h3c]user-interface vty 0 4
[h3c-ui-vty0-4]authentication-mode scheme
[h3c-ui-vty0-4]protocol inbound ssh
[h3c-ui-vty0-4]quit
[h3c]local-user 用戶名
[h3c-luser-用戶名]password cipher 密碼
[h3c-luser-用戶名]service-type ssh
[h3c-luser-用戶名]authorization-attribute level 3
[h3c-luser-用戶名]quit
[h3c]ssh server enable
[h3c]save
or
[h3c]public-key local create rsa
回車
[h3c]public-key local create dsa
回車
[h3c]user-interface vty 0 4
[h3c-ui-vty0-4]authentication-mode scheme
[h3c-ui-vty0-4]protocol inbound ssh
[h3c-ui-vty0-4]quit
[h3c]local-user 用戶名
[h3c-luser-用戶名]password cipher 密碼
[h3c-luser-用戶名]service-type ssh
[h3c-luser-用戶名]service-type ssh level 3
[h3c-luser-用戶名]quit
[h3c]ssh authentication-type default password
[h3c]save