9 Telnet and SSH
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9-38
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 05 (2010-01-30)
Figure 9-8
Networking diagram of accessing the SSH server through other port numbers
SSH Server
Netw ork
SSH Client
legal user
SSH Client
setting port
SSH Client
attacher
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.
3.
Set the number of the non-standard port on the SSH server.
Data Preparation
To complete the configuration, you need the following data:
z
Name and the authentication mode of SSH users
z
Password or the RSA public key of the SSH user
z
Name of the SSH server
z
Number of the port monitored by the SSH server
Configuration Procedure
Step 1
Generate a local key pair on the server.
See
9.8.2 Step 1
"
Generate a local key pair on the server.
"
Step 2
Create an SSH user on the server.
See
9.8.2 Step 2
"
Create an SSH user on the server.
"
Step 3
Configure the RSA public key.
See
9.8.2 Step 3
"
Configure the RSA public key on the server.
"
Step 4
Enable the STelnet service and the SFTP service on the SSH server.
# Enable the STelnet service and the SFTP service.
<Quidway>
system-view
[Quidway]
sftp server enable
[Quidway]
stelnet server enable