![Huawei Quidway NetEngine80 Configuration Manual Download Page 212](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456212.webp)
Quidway NetEngine80
Configuration Guide - Basic Configurations
9 Telnet and SSH
Issue 04 (2009-12-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-51
=====================================================
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 generated on the client software to the server.
[Quidway]
rsa peer-public-key RsaKey001
Enter "RSA public key" view, return system view with "peer-public-key end".
[Quidway-rsa-public-key]
public-key-code begin
Enter "RSA key code" view, return last view with "public-key-code end".
[Quidway-rsa-key-code]
3047
[Quidway-rsa-key-code]
0240
[Quidway-rsa-key-code]
BFF35E4B C61BD786 F907B5DE 7D6770C3 E5FD17AB
[Quidway-rsa-key-code]
203C8FCB BBC8FDF2 F7CB674E 519E8419 0F6B97A8
[Quidway-rsa-key-code]
EA91FC4B B9E18836 5E74BFD5 4C687767 A89C6B43
[Quidway-rsa-key-code]
1D7E3E1B
[Quidway-rsa-key-code]
0203
[Quidway-rsa-key-code]
010001
[Quidway-rsa-key-code]
public-key-code end
[Quidway-rsa-public-key]
peer-public-key end
Step 3
Create the SSH user.
On the RADIUS server, add two users named [email protected] and [email protected] respectively;
in addition, designate the NAS address 10.164.39.222 and the key huawei. The NAS address
refers to the address of SSH server that connects to the RADIUS server.
# Configure the VTY user Interface on SSH server.
[Quidway]
user-interface vty 0 4
[Quidway-ui-vty0-4]
authentication-mode aaa
[Quidway-ui-vty0-4]
protocol inbound ssh
[Quidway-ui-vty0-4]
quit
# Create SSH users with their name [email protected] and [email protected] on the SSH server.
[Quidway]
ssh user [email protected]
[Quidway]
ssh user [email protected] authentication-type password
[Quidway]
ssh user [email protected] service-type stelnet
[Quidway]
ssh user [email protected]
[Quidway]
ssh user [email protected] authentication-type password
[Quidway]
ssh user [email protected] service-type sftp
[Quidway]
ssh user
sftp-directory cfcard:
# Bind the client public key to [email protected].
[Quidway]
ssh user [email protected] assign rsa-key RsaKey001
Step 4
Configure the RADIUS template.