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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM