zoukankan      html  css  js  c++  java
  • 华为千兆交换机开启远程登录

    步骤一、生成本地密钥对

    [core]rsa local-key-pair create

    The key name will be: Huawei_Host

    The range of public key size is (2048 ~ 2048).

    NOTES: If the key modulus is greater than 2048,

       it will take a few minutes.
    

    Input the bits in the modulus[default = 2048]: #直接回车就行

    Generating keys...

    ............................++++++

    ...++++++

    ..++++++++

    ......++++++++

    步骤二、配置VTY用户界面

    [core]user-interface vty 0 4

    [core-ui-vty0-4]authentication-mode aaa

    [core-ui-vty0-4]protocol inbound ssh

    [core-ui-vty0-4]quit

    步骤三、创建SSH用户,并配置用户的认证方式为password

    [core]ssh user root authentication-type password

    步骤四、配置SSH用户的用户名和密码

    [core]aaa

    [core-aaa]local-user root password cipher root

    Info: Add a new user.

    [core-aaa]local-user root privilege level 3

    [core-aaa]local-user root service-type ssh

    [core-aaa]quit

    步骤五、使能STelent功能,并配置用户的服务类型为STelnet

    [core]stelnet server enable

    Info: Succeeded in starting the Stelnet server.

    [core]ssh user root service-type stelnet

  • 相关阅读:
    文件读取原理和文件删除原理
    day 1 随堂作业
    day 2 随堂作业
    day 3 随堂作业
    day 4 随堂作业
    day 5 随堂作业
    day 6 随堂作业
    day 7 随堂作业
    day 8 随堂作业
    day 9 随堂作业
  • 原文地址:https://www.cnblogs.com/lph970417/p/11542778.html
Copyright © 2011-2022 走看看