![Huawei Quidway NetEngine80 Configuration Manual Download Page 198](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456198.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-37
ssh user client002 authentication-type RSA
ssh user client001 service-type stelnet
ssh user client002 service-type stelnet
stelnet server enable
ssh user client001
ssh user clietn002
ssh user client002
#
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
#
return
9.8.3 Example for Connecting the SFTP Client to the SSH Server
Networking Requirements
As shown in
Figure 9-8
, after the SFTP service is enabled on the SSH server, the SFTP client
can log in to the SSH server in the authentication mode: password, RSA, Password-RSA, and
all.
Figure 9-8
Networking diagram of connecting the SFTP client to the SSH server
SFTP 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.
3.
Generate the RSA public key on the SSH server and bind the RSA public key of SSH
client to Client002.
4.
Enable the STelnet service on the SSH server.
5.
Configure the service type and authorized directory of the SSH user.
6.
Users Client001 and Client002 log in to the SSH server through SFTP.
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