Operation Manual – SSH
H3C S5500-EI Series Ethernet Switches
Chapter 2 SFTP Service
2-5
To do…
Use the command…
Remarks
Establish a connection
to the remote SFTP
server and enter SFTP
client view
sftp
[
ipv6
]
server
[
port-number
]
[
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
Required
Execute the command
in user view.
Change the name of a
specified file on the
SFTP server
rename
old-name new-name
Optional
Download a file from
the remote server and
save it locally
get
remote-file
[
local-file
] Optional
Upload a local file to
the remote SFTP
server
put
local-file
[
remote-file
]
Optional
dir
[
-a
|
-l
] [
remote-path
]
Display the files under
a specified directory
ls
[
-a
|
-l
] [
remote-path
]
Optional
The
dir
command
functions as the
ls
command.
delete remote-file
&<1-10>
Delete a file from the
SFTP server
remove remote-file
&<1-10>
Optional
The
delete
command
functions as the
remove
command.
2.3.5 Displaying Help Information
This configuration task is to display a list of all commands or the help information of an
SFTP client command, such as the command format and parameters.
Follow these steps to display a list of all commands or the help information of an SFTP
client command: