SSH Configuration Huawei to SecureCRT
Hello everyone!
Today, I would like to present a practical example of how to configure the SSH protocol on Huawei devices.
For example, it will be possible to connect some device inside the eNSP via SecureCRT terminal with SSH protocol.
Objetive
The purpose of the article is to present a way to connect SecureCRT terminal on Windows via SSH to some functional device within eNSP.

Ps: Assuming that there is already a previous configuration of connectivity between your machine and the eNSP.
Step 1: The first step is to configure remote SSH management on the device
Let's start the first step with setting up the VTY parameters. Run the commands below on the terminal:
<Huawei> system-view
[Huawei] user-interface vty 0 4
[Huawei] authentication-mode aaa
[Huawei] protocol inbound ssh

The next step, enable the SSH service, which in Huawei is called "stelnet server" and this service is disabled by default.
[Huawei] stelnet server enable

Now we need to configure a username and password for remote SSH login in the AAA parameters. In the example create the account name "admin" and the password "Huawei@123"
[Huawei] aaa
[Huawei] local-user admin password cipher Huawei@123 privilege level 15
[Huawei] local-user admin service-type ssh

Finally, it is to generate an SSH encryption:
[Huawei] rsa local-key-pair create

Step 2: The last step is the validation of access via SSH to the equipment that is in the eNSP via SecureCRT.
Create a new SSH session in SecureCRT using the protocol SSH2:

Enter the access information as shown below:


Enter the password that has been set up on the device. Our example has the password "Huawei@123" with the username "admin"

Conclusion:
If it was possible to access via SSH with the information configured through the SecureCRT terminal, the objective of the practical example was achieved.



