作者:手机用户2502855257 | 来源:互联网 | 2023-08-04 17:16
ssh配置[H3C]sshserverenable启动ssh[H3C]local-userhaha创建本地用户Newlocaluseradded.[H3C-luser-manage
ssh配置
[H3C]ssh server enable //启动ssh
[H3C]local-user haha //创建本地用户
New local user added.
[H3C-luser-manage-haha]password simple 123456 //设置密码
[H3C-luser-manage-haha]service-type ssh
[H3C-luser-manage-haha]qu
[H3C]line vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C-line-vty0-4]protocol inbound ssh //允许ssh登录
[H3C-line-vty0-4]user-role level-15 用户等级为15
[H3C-line-vty0-4]qu
验证