H3C交换机开局:修改 Console 密码,配置 ssh 登陆!

1、修改 Console 密码

 sys

 user-interface aux 0

 authentication-mode password

 set authentication password simple H3cAyey@0504

2、配置 SSH 登陆

[ZhouLou_2#]public-key local create rsa

[ZhouLou_2#]public-key local create dsa

[ZhouLou_2#]ssh server enable

[ZhouLou_2#]user-interface vty 0 63

[ZhouLou_2#-line-vty0-63]authentication-mode scheme

[ZhouLou_2#-line-vty0-63]protocol inbound ssh

[ZhouLou_2#-line-vty0-63]quit

[ZhouLou_2#]local-user admin

[ZhouLou_2#-luser-manage-admin]password simple H3ckfzx@0817

[ZhouLou_2#-luser-manage-admin]service-type ssh

[ZhouLou_2#-luser-manage-admin]authorization-attribute user-role network-admin

[ZhouLou_2#-luser-manage-admin]quit

命令总结:

1、修改 Console 密码:

user-interface aux 0

authentication-mode password

set authentication password simple H3cAyey@0504

quit

2、创建用户名 = admin 、密码 = Admin@123 、并配置 SSH 登陆:

public-key local create rsa     

public-key local create dsa

ssh server enable

user-interface vty 0 63

authentication-mode scheme

protocol inbound ssh

quit

local-user admin

password simple Admin@123

service-type ssh

authorization-attribute user-role network-admin

quit

quit

save

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

sias_0

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值