2 sftp service, Sftp overview, Configuring an sftp server – H3C Technologies H3C S5120 Series Switches User Manual

Page 501: Configuration prerequisites, Enabling the sftp server, Sftp service

Advertising
background image

2-1

2

SFTP Service

When configuring SFTP, go to these sections for information you are interested in:

z

SFTP Overview

z

Configuring an SFTP Server

z

Configuring an SFTP Client

z

SFTP Client Configuration Example

z

SFTP Server Configuration Example

SFTP Overview

The secure file transfer protocol (SFTP) is a new feature in SSH2.0.

SFTP uses the SSH connection to provide secure data transfer. The device can serve as the SFTP

server, allowing a remote user to log into the SFTP server for secure file management and transfer. The

device can also server as an SFTP client, enabling a user to login from the device to a remote device for

secure file transfer.

Configuring an SFTP Server

Configuration Prerequisites

z

You have configured the SSH server. For the detailed configuration procedure, refer to

Configuring

the Device as an SSH Server

.

z

You have used the ssh user service-type command to set the service type of SSH users to sftp or

all. For configuration procedure, refer to

Configuring an SSH User

.

Enabling the SFTP Server

This configuration task is to enable the SFTP service so that a client can log into the SFTP server

through SFTP.

Follow these steps to enable the SFTP server:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the SFTP server

sftp server enable

Required

Disabled by default

Advertising