Operation Manual – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
1-15
Note:
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.
1.3.2 SFTP Configuration: A Switch Operating as an SFTP Client
I. 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
—
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