Using ssh+ Password Authentication (basic SSH configuration method)
Note: When a user logs on to a switch using SSH, the switch authenticates the user who is logged on by using a password
Generating RSA and DSA key pairs
[H3c]public-key Local Create RSA
[H3c]public-key Local Create DSA
Set the authentication mode on the user interface to AAA and let the user interface support the SSH protocol
[H3c]user-interface vty 0 4
[H3c-ui-vty0-4]authentication-mode Scheme
[H3c-ui-vty0-4]protocol Inbound SSH
Create user juniper, set authentication password to Juniper login protocol as SSH
[H3c]local-user Juniper
[H3c-luser-juniper]password cipher Juniper
Specifies the user Juniper authentication method is password
[H3C]SSH user Juniper Service-typ all authentication-type password
A basic SSH configuration is over, and you can use the SSH login tool to connect the switch after the configuration is complete.
H3C Network device configuration SSH Login