[H3C]s5130 添加本地账户并启用SSH

Posted leoshi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[H3C]s5130 添加本地账户并启用SSH相关的知识,希望对你有一定的参考价值。

交换机系统版本

dis version
Boot image: flash:/s5130s_ei-cmw710-boot-r6126p20.bin
Boot image version: 7.1.070, Release 6126P20

添加账户

# 添加本地管理员账户
local-user leoshi class manage
# 设置密码
password 
Password: 
Confirm: 
# 开通连接方式
service-type terminal telnet ssh 
# 开通权限
authorization-attribute user-role level-0
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator

登录

ssh -p 22 leoshi@10.10.10.10
The authenticity of host '10.10.10.10 (10.10.10.10)' can't be established.
RSA key fingerprint is SHA256:8sceTsTlu9tsYbwNCVYokngNB2Ki+JUaB9pqrCjqgN4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.3.32.41' (RSA) to the list of known hosts.
leoshi@10.10.10.10's password:

******************************************************************************
* Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************

<SW1_2-B02Office-JKSD>

END

以上是关于[H3C]s5130 添加本地账户并启用SSH的主要内容,如果未能解决你的问题,请参考以下文章

H3C S5130 交换机堆叠IRF配置

H3C S5130系列交换机 配置vlan一个简单实例

H3C S5130S开启DHCP配置

网络学习:H3C S5130 series 交换机配置

新版raspbian系统的固定IP配置和启用root账户的ssh登录功能的方法

USRP E310启用SSH的X11 Forwarding功能