Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Turn on Huawei switch router ssh access

Shulou Source: shulou.com Published: 2022-06-01 03:49:54 10月06日 Update

Requirement: the client of PC can log on to the switch for remote management through SSH.

Step 1, generate a local key pair:

[test] rsa local-key-pair create The key name will be: Auotnavi-callcenter-01_Host The range of public key size is 512 ~ 2048. NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus [default = 512]: 1024 Generating keys... . +

Step 2, configure the VTY user interface:

[Auotnavi-callcenter-01] user [Auotnavi-callcenter-01] user-interface vty0 4 [Auotnavi-callcenter-01-ui-vty0-4] authentication-mode aaa [Auotnavi-callcenter-01-ui-vty0-4] protocol inbound ssh

Step 3, create the SSH user and password

# aaa#local-user root password simple 123456 # local-user root privilege level 3 # local-user root service-type ssh

Step 4: configure the authentication and service methods of ssh users

[Quidway] ssh user user name authentication-type password or [Quidway] ssh authentication-type default password # if there are too many users, you can directly set the default authentication method [Quidway] ssh user username service-type {sftp | stelnet | all} # this step is not configured, and server refused to start a shell/command may occur.

Step 5: enable ssh services

[Quidway] stelnet server enable

Tags: Steps user mode configuration service authentication switch customer client password user name user interface interface excessive remote management requirements generation login management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn Xiaomi Linux macOS