华为千兆交换机开启远程登录

步骤一、生成本地密钥对

[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

原文地址:https://www.cnblogs.com/lph970417/p/11542778.html