H3C ssh 配置参考

[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

posted @ 2019-10-29 14:02  walkersss  阅读(3638)  评论(0编辑  收藏  举报