beautypg.com

I. configuring service type for an ssh user, Ii. enabling sftp server, Iii. setting connection idle timeout time – H3C Technologies H3C S3100 Series Switches User Manual

Page 510: 3 sftp client configuration on the switch, 3 sftp client configuration on the switch -24

background image

Operation Manual – SSH Terminal Service

H3C S3100-52P Ethernet Switch

Chapter 1 SSH Terminal Service

1-24

z

Setting connection idle timeout

I. Configuring service type for an SSH user

Table 1-12

Configure service type for an SSH user

Operation

Command

Description

Enter system view

system-view

Configure service type for

an SSH user

ssh user

username

service-type

{ stelnet |

sftp

| all }

Optional
By default, the service

type available for a user is
stelnet

.

II. Enabling SFTP Server

Table 1-13

Enable SFTP Server

Operation

Command

Description

Enter system view

system-view

Enable SFTP Server

sftp server enable

Required
By default, SFTP Server

is disabled.

III. Setting connection idle timeout time

You can set the idle timeout time for SFTP connections, so that the system can
automatically release a user connection when the user connection is idle for a time
longer than the time threshold you set.

Table 1-14

Set connection idle timeout time

Operation

Command

Description

Enter system view

system-view

Set idle timeout time for

SFTP connections

sftp timeout
time-out-value

Required
By default, the connection

idle timeout time is 10

minutes.

1.2.3 SFTP Client Configuration on the Switch

The following table describes SFTP Client configuration tasks on the switch: