Example For Connecting The Sftp Clinet And The Ssh Server - Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration

9.8.4 Example for Connecting the SFTP Clinet and the SSH Server

In this example, the local key pairs are generated on the SFTP client and the SSH server
respectively; the public RSA key is generated on the SSH server and bind the RSA public key
to the SFTP client. In this manner, the SFTP client can connect to the SSH server.
Networking Requirements
As shown in
can log in to the SSH server in the authentication mode of password, RSA, password-rsa, or all.
Figure 9-6 Networking diagram for connecting the SFTP client and the SSH server
10.164.39.220/24
Switch
SSH server
Client001
Client002
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
6.
7.
Data Preparation
To complete the configuration, you need the following data:
Issue 01 (2011-07-15)
#
return
Figure
9-6, after the SFTP service is enabled on the SSH server, the SFTP client
SSH Server
10.164.39.222/24
Client001
Interface
Ethernet0/0/1
Ethernet0/0/1
Ethernet0/0/1
Create a VLAN that each interface belongs to and assign an IP address to each VLANIF
interface.
Configure Client001 and Client002 on the SSH server.
Create a local key pair on the SFTP client and SSH server separately.
Create an RSA public key on the SSH server and bind the RSA public key of the SSH client
to Client002.
Enable the SFTP service on the SSH server.
Configure the type of service and authenticated directory for the SSH user.
Client001 and Client002 log in to the SSH server through SFTP.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10.164.39.221/24
Client002
VLANIF interface
VLANIF 10
VLANIF 10
VLANIF 10
9 Telnet and SSH
IP address
10.164.39.222/24
10.164.39.220/24
10.164.39.221/24
160

Advertisement

Table of Contents
loading

Table of Contents