Example For Performing File Operations By Means Of Sftp - 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

6.5.3 Example for Performing File Operations by Means of SFTP

This section provides an example for operating files by using SFTP. In this example, a local key
pair is configured on the SSH server, and a user name and a password are configured on the
server for an SSH user. After SFTP services are enabled on the server and the SFTP client is
connected to the server, you can operate files between the client and the server.
Networking Requirements
As shown in
server, you can log in to the server in password, RSA, password-rsa, or all authentication mode
from a PC on the SFTP client.
Configure a user to log in to the SSH server in password authentication mode.
Figure 6-4 Networking diagram for operating files by using SFTP
PC
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
Issue 02 (2011-10-15)
#
FTP server enable
#
interface GigabitEthernet1/0/0
ip address 10.137.217.221 255.255.0.0
#
aaa
local-user huawei password simple Huawei
local-user huawei service-type ftp
local-user huawei ftp-directory flash:
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
return
Figure
6-4, after SFTP services are enabled on the router functioning as an SSH
Network
Configure a local key pair on the SSH server to securely exchange data between the SFTP
client and the SSH server.
Configure VTY user interfaces on the SSH server.
Configure an SSH user, including user name and password.
Enable SFTP services on the SSH server and configure a user service type.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
GE1/0/0
10.137.217.225/16
SSH Server
6 Managing File System
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents