![Huawei AR2200 Series Скачать руководство пользователя страница 120](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296120.webp)
#
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
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
, after SFTP services are enabled on the router functioning as an SSH
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
Network
SSH Server
GE1/0/0
10.137.217.225/16
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure a local key pair on the SSH server to securely exchange data between the SFTP
client and the SSH server.
2.
Configure VTY user interfaces on the SSH server.
3.
Configure an SSH user, including user name and password.
4.
Enable SFTP services on the SSH server and configure a user service type.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
109