H3C 交换机开启ssh

交换机配置如下:

[IT-test]public-key local create rsa        #生成rsa key
[IT-test]public-key local create dsa        #生成dsa key

[IT-test]local-user zhang        #创建用户zhang
[IT-test-luser-zhang]password simple 123456        #配置用户密码
[IT-test-luser-zhang]service-type ssh telnet level 3        #分配服务类型ssh、telnet权限等级为3
[IT-test-luser-zhang]quit        #退出

[IT-test]user-interface vty 0 4        #进入用户接口
[IT-test-ui-vty0-4]authentication-mode scheme        #认证模式
[IT-test-ui-vty0-4]protocol inbound all        #协议为所有
[IT-test-ui-vty0-4]quit        #退出

[IT-test]ssh user zhang service-type stelnet        #配置用户zhang服务类型ssh
[IT-test]ssh user zhang authentication-type password        #配置用户zhang认证模式为密码
原文地址:https://www.cnblogs.com/xiykj/p/15103901.html