[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的主要内容,如果未能解决你的问题,请参考以下文章