9 Telnet and SSH
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9-28
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
z
Configure Client001 with the password as huawei and adopt the password
authentication.
z
Configure Client002, adopt the RSA authentication and assign the public key RsaKey001
to Client002.
The user interface supports only SSH.
Figure 9-6
Networking diagram of connecting the STelnet client to the SSH server
STelnet Client
SSH Server
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure Clinet001 and Client002 on the router.
2.
Generate the local key pair on the STelnet client and the SSH server respectively.
Data Preparation
To complete the configuration, you need the following data:
z
Name and the authentication mode of the SSH user
z
Password or the RSA public key of the SSH user
z
Name of the SSH server
Configuration Procedure
Step 1
Generate a local key pair on the server.
<Quidway>
system-view
[Quidway]
rsa local-key-pair create
The key name will be: Quidway_Host
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 512]:
Generating keys...
.......++++++++++++
..........++++++++++++
...................................++++++++
......++++++++
If the local key pair is generated before, this step can be ignored.
Step 2
Create an SSH user on the server.
The SSH client can be authenticated in four modes: password, RSA, password-RSA, and all.