![Huawei AR2200 Series Configuration Manual Download Page 181](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296181.webp)
Step 2
Configure the RSA public key on the server.
# Generate a local key pair on the client.
<Huawei>
system-view
[Huawei]
sysname client
[client]
rsa local-key-pair create
# Check the RSA public key of the client.
[client]
display rsa local-key-pair public
=====================================================
Time of Key pair created: 16:38:51 2007/5/25
Key name: Host
Key type: RSA encryption Key
=====================================================
Key code:
3047
0240
BFF35E4B C61BD786 F907B5DE 7D6770C3 E5FD17AB
203C8FCB BBC8FDF2 F7CB674E 519E8419 0F6B97A8
EA91FC4B B9E18836 5E74BFD5 4C687767 A89C6B43
1D7E3E1B
0203
010001
=====================================================
Time of Key pair created: 16:38:51 2007/5/25
Key name: Server
Key type: RSA encryption Key
=====================================================
Key code:
3067
0260
BCFAC085 49A2E70E 1284F901 937D7B63 D7A077AB
D2797280 4BCA86C0 4CD18B70 5DFAC9D3 9A3F3E74
9B2AF4CB 69FA6483 E87DA590 7B47721A 16391E27
1C76ABAB 743C568B 1B35EC7A 8572A096 BCA9DF0E
BC89D3DB 5A83698C 9063DB39 A279DD89
0203
010001
[client]
# Send the RSA public key of the client to the server.
[Huawei]
rsa peer-public-key RsaKey001
Enter "RSA public key" view, return system view with "peer-public-key end".
[Huawei-rsa-public-key]
public-key-code begin
Enter "RSA key code" view, return last view with "public-key-code end".
[Huawei-rsa-key-code]
3047
[Huawei-rsa-key-code]
0240
[Huawei-rsa-key-code]
BFF35E4B C61BD786 F907B5DE 7D6770C3 E5FD17AB
[Huawei-rsa-key-code]
203C8FCB BBC8FDF2 F7CB674E 519E8419 0F6B97A8
[Huawei-rsa-key-code]
EA91FC4B B9E18836 5E74BFD5 4C687767 A89C6B43
[Huawei-rsa-key-code]
1D7E3E1B
[Huawei-rsa-key-code]
0203
[Huawei-rsa-key-code]
010001
[Huawei-rsa-key-code]
public-key-code end
[Huawei-rsa-public-key]
peer-public-key end
Step 3
Create SSH users.
Create users [email protected] and [email protected] on the RADIUS server. Specify the NAS's IP
address 10.164.39.222 and set the password to
huawei
. The NAS's IP address is the IP address
of the SSH server connected to the RADIUS server.
# Configure VTY user interfaces on the SSH server.
[Huawei]
user-interface vty 0 4
[Huawei-ui-vty0-4]
authentication-mode aaa
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
8 Accessing Another Device
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
170