Configuring connection idle time, Supported sftp client software, Basic configurations on an sftp client – H3C Technologies H3C S3100 Series Switches User Manual

Page 777

Advertising
background image

1-12

Configuring connection idle time

After the idle time is configured, if the server does not receive service requests from a client within a

specified time period, it terminates the connection with the client, thus preventing a user from occupying

the connection for a long time without performing any operation.

Table 1-12 Configure connection idle time

Operation

Command

Description

Enter system view

system-view

Configure the connection idle time for
the SFTP server

ftp timeout time-out-value

Optional

10 minutes by default

Supported SFTP client software

An H3C S3100 series Ethernet switch operating as an SFTP server can interoperate with SFTP client

software, including SSH Tectia Client v4.2.0 (SFTP), v5.0, and WINSCP.

SFTP client software supports the following operations: logging in to a device; uploading a file;

downloading a file; creating a directory; modify a file name or a directory name; browsing directory

structure; and manually terminating a connection.

For configurations on client software, see the corresponding configuration manual.

z

Currently an H3C S3100 series Ethernet switch operating as an SFTP server supports the

connection of only one SFTP user. When multiple users attempt to log in to the SFTP server or

multiple connections are enabled on a client, only the first user can log in to the SFTP user. The

subsequent connection will fail.

z

When you upload a large file through WINSCP, if a file with the same name exists on the server,

you are recommended to set the packet timeout time to over 600 seconds, thus to prevent the

client from failing to respond to device packets due to timeout. Similarly, when you delete a large

file from the server, you are recommended to set the client packet timeout time to over 600

seconds.

SFTP Configuration: A Switch Operating as an SFTP Client

Basic configurations on an SFTP client

By default a switch can operate as an SFTP client. In this case you can connect the switch to the SFTP

server to perform SFTP-related operations (such as creating/removing a directory) by executing

commands on the switch.

Table 1-13

lists the operations that can be performed on an SFTP client.

Table 1-13 Basic configurations on an SFTP client

Operation

Command

Description

Enter system view

system-view

Advertising