zoukankan      html  css  js  c++  java
  • [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

  • 相关阅读:
    textarea 里设置 style="resize:none"
    linux 脚本
    RabbitMQ、Redis、ZeroMQ、ActiveMQ、Kafka/Jafka对比
    python安装过程
    linux下安装python3
    java实现定时任务 Schedule
    Spring 定时任务之 @Scheduled cron表达式
    docker部署
    设备连接服务器
    springboot实现fileUpLoad
  • 原文地址:https://www.cnblogs.com/leoshi/p/12493222.html
Copyright © 2011-2022 走看看