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

Deadly 提交于 2019-11-30 01:02:23

步骤一、生成本地密钥对

[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 shxke authentication-type password

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

[core]aaa

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

Info: Add a new user.

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

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

[core-aaa]quit

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

[core]stelnet server enable

Info: Succeeded in starting the Stelnet server.

[core]ssh user shxke service-type stelnet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!