Supported sftp client software, Basic configurations on an sftp client – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 527

Advertising
background image

49-14

Supported SFTP client software

The device 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 the device 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: The Device Operating as an SFTP Client

Basic configurations on an SFTP client

By default the device can operate as an SFTP client. In this case you can connect the device to the
SFTP server to perform SFTP-related operations (such as creating/removing a directory) by executing
commands on the device.

Follow these steps to perform basic configurations on an SFTP client:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter SFTP client view

sftp

{ host-ip | host-name } [ port-num ]

[ identity-key { dsa | rsa } | prefer_kex
{ dh_group1 | dh_exchange_group } |
prefer_ctos_cipher

{ des | aes128 } |

prefer_stoc_cipher

{ des | aes128 } |

prefer_ctos_hmac

{ sha1 | sha1_96 |

md5

| md5_96 } | prefer_stoc_hmac

{ sha1 | sha1_96 | md5 | md5_96 } ] *

Required

Change the working directory on the
remote SFTP server

cd

pathname

Change the working directory to be the
parent directory

cdup

Display the working directory on the
SFTP server

pwd

Create a directory on the remote SFTP
server

mkdir

pathname

Optional

Advertising