码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-03-14 18:24:51      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:The   pass   code   connect   work   written   attribute   lease   启用   

交换机系统版本

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

标签:The   pass   code   connect   work   written   attribute   lease   启用   

原文地址:https://www.cnblogs.com/leoshi/p/12493222.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!