Example For Connecting The Sftp Client To The Ssh Server - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
<Huawei> tftp 10.111.16.160 put sd1:/iascfg.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
TFTP: Uploading the file successfully.
----End

8.8.5 Example for Connecting the SFTP Client to 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 with the password, RSA, password-rsa, or all authentication.
Figure 8-13 Networking diagram of connecting the SFTP client to the SSH server
10.164.39.220/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
6.
Data Preparation
To complete the configuration, you need the following data:
l
l
Issue 02 (2011-10-15)
3856 bytes send in 1 second.
Figure
8-13, after the SFTP service is enabled on the SSH server, the SFTP Client
SSH Server
GE1/0/0
10.164.39.222/24
GE1/0/0
Client001
Configure Client001 and Client002 on the SSH server.
Generate the local key pairs on the SFTP client and SSH server .
Generate the RSA public key on the SSH server and bind the RSA public key of SSH client
to Client002.
Enable the SFTP service on the SSH server.
Configure the service mode and authorization directory for the SSH user.
Client001 and Client002 log in to the SSH server through SFTP.
Name and the authentication mode of the SSH user
Password or the RSA public key of the SSH user
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
GE1/0/0
10.164.39.221/24
Client002
8 Accessing Another Device
164

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents