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