3com 8807 Guia Do Utilizador
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
SFTP Service
783
SFTP Client
Configuration
The following table describes the SFTP client configuration tasks.
Starting the SFTP client
Use this configuration task to start the SFTP client program, establish a connection
with the remote SFTP server, and enter the SFTP client view.
with the remote SFTP server, and enter the SFTP client view.
Perform the following configuration in system view.
Table 734 SFTP client configuration tasks
Num Operation
Command
Description
1
Enter system view
<SW8800> system-view
-
2
Starting the SFTP client
[SW8800]
sftp ipaddr [ prefer_kex {
dh_group1 |
dh_exchange_group } ] [
prefer_ctos_cipher { des | 3des
| aes128 } ] [
prefer_stoc_cipher { des | 3des
| aes128 } ] [ prefer_ctos_hmac
{ sha1 | sha1_96 | md5 |
md5_96 } ] [ prefer_stoc_hmac
{ sha1 | sha1_96 | md5 |
md5_96 } ]
dh_group1 |
dh_exchange_group } ] [
prefer_ctos_cipher { des | 3des
| aes128 } ] [
prefer_stoc_cipher { des | 3des
| aes128 } ] [ prefer_ctos_hmac
{ sha1 | sha1_96 | md5 |
md5_96 } ] [ prefer_stoc_hmac
{ sha1 | sha1_96 | md5 |
md5_96 } ]
Required
3
Shut down the SFTP client
sftp-client> bye
Optional
sftp-client> exit
sftp-client> quit
4
SFTP
directory
operation
directory
operation
Chang the current
directory
directory
sftp-client> cd [remote-path ]
-
Return to the upper
directory
directory
sftp-client> cdup
Display the current
directory
directory
sftp-client> pwd
Display the file list in
the specified
directory
the specified
directory
sftp-client> dir [remote-path ]
sftp-client> ls [remote-path ]
Delete a directory on
the server
the server
sftp-client> rmdir remote-path
5
SFTP file
operation
operation
Change the name of
the specified file on
the server
the specified file on
the server
sftp-client> rename oldname
newname
newname
Optional
Download a file from
the remote server
the remote server
sftp-client> get remote-file [
local-file ]
local-file ]
Upload a local file to
the remote server
the remote server
sftp-client> put local-file [
remote-file ]
remote-file ]
Display the file list in
the specified
directory
the specified
directory
sftp-client> dir [remote-path ]
sftp-client> ls [remote-path ]
Delete a file from the
server
server
sftp-client> remove remote-file
sftp-client> delete remote-file
6
Command help on the client
sftp-client> help [ command ]
Optional