1. 华为交换机配置ssh
# 生成密匙
[Huawei] rsa local-key-pair create
# 配置vty
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
[Huawei-ui-vty0-4] protocol inbound all (或者仅 ssh)
# 创建ssh用户,配置password认证
[Huawei] ssh user admin
[Huawei] ssh user admin authentication-type all (或者仅用 password)
[Huawei] aaa
[Huawei-aaa] local-user admin password cipher MyPassword
[Huawei-aaa] local-user admin privilege level 15
[Huawei-aaa] local-user admin service-type telnet ssh(或者仅保留 ssh)
[Huawei] ssh user admin service-type all
# 开启stelnet功能
[Huawei] stelnet server enable
[Huawei] ssh server port 43000
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。