Figure 3-35 Interface of converting the client public key to the RSA public key
Step 7 Generate the public key for the SSH user.
Create the RSA public key and copy the RSA public key to the server in the config-rsa-key-code
mode.
huawei(config)#rsa peer-public-key key
huawei(config-rsa-public-key)#public-key-code begin
Enter "RSA key code" view, return last view with "public-key-code end".
huawei(config-rsa-key-code)#30818602 81805A01 625279EF 5E4CD503 916C9DB5 0233CF58
huawei(config-rsa-key-code)#C901D4CA 207C77D3 4EF25B04 9897BD24 997BF61B DFB9A73C
huawei(config-rsa-key-code)#F82B6F06 55ACCDB9 F7DC1474 9E6518EE B1A543FF 9147150B
huawei(config-rsa-key-code)#111BD11C 683A023B A4295550 DA13F6BE 3190A2A8 3BFCB158
huawei(config-rsa-key-code)#4FBAA365 F6E796A0 B02CB6F9 8491A373 9B4A0876 4B3189B4
huawei(config-rsa-key-code)#BBA2C7BA E1974104 AD165E98 18CF0201 25
huawei(config-rsa-key-code)#public-key-code end
huawei(config-rsa-public-key)#peer-public-key end
Step 8 Assign the public key to the SSH user.
Run the ssh user assign rsa-key command to assign the public key to user huawei.
huawei(config)#ssh user huawei assign rsa-key key
Step 9 Log in to the system.
1. Run the client software.
Start the putty.exe, the SSH client tool. Choose SSH > Auth from the navigation tree to
specify the RSA private key file, as shown in Figure 3-36. Then, click Browse to display
the file selecting dialog box. In the dialog box, select the private key file and click OK.
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.
56