l rsa: The RSA public key is used for authentication.
l all: The password or RSA key is used for authentication. It indicates that an SSH user can
log in to the device after the user has passed the password or RSA authentication.
l password-publickey: The password and public key are used for authentication. It indicates
that an SSH user can log in to the device only after the user has passed both the password
and RSA authentication.
huawei(config)#ssh user huawei authentication-type rsa
Step 6 Generate the RSA public key.
1. Run the key generator (considering the PuTTY as an example).
Run the key generator PUTTYGEN.EXE.Figure 3-32 shows the interface of the key
generator.
Figure 3-32 Interface of the key generator
2. Generate the client key.
Select SSH-2 RSA as the key type in the Parameters area, click Generate, and move the
cursor according to the prompt to generate the client key.Figure 3-33 shows the interface
of the key generator.
UA5000 Universal Access Unit Product
Commissioning Guide-PVM CLI 3 Stand-Alone Commissioning
Issue 04 (2012-06-25) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
53