Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Configure a SSH login case on a Huawei device

Shulou Source: shulou.com Published: 2022-06-01 07:40:36 10月03日 Update

SSH is a commonly used secure remote management protocol. The configuration is as follows:

Server side:

User-interface vty 0 4

The authentication-mode aaa / / authentication mode adopts aaa, that is, the user name and password under aaa are called.

Protocol inbound ssh / / this virtual cable allows you to connect using ssh

#

Aaa

Local-user client001 password cipher qytang / / create a user name and corresponding password

Local-user client001 privilege level 3 / / give the client the highest permissions

Local-user client001 service-type ssh / / this user serves the ssh protocol

Quit

#

Ssh user client001 authentication-type password / / this user uses password authentication

Stelnet server enable / / start ssh protocol

Rsa local-key-pair create / / Please select a length. 2048 is recommended.

Client:

Ssh client first-time enable

Stelnet 77.1.1.1

[R6] stelnet 77.1.1.1

Please input the username:client001

Trying 77.1.1.1...

Press CTRL+K to abort

Connected to 77.1.1.1...

Enter password:

User last login information:Access Type: SSH

IP-Address: 10.1.67.6 ssh

Time: 2018-07-04 15:16:19-08:00

Tags: User password customer client user name service authentication configuration maximum security commonly used server permissions mode user service cable remote management length recommendation management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Apple OPPO Reno MySQL Shulou Tech Info