3Com Switch 8800 Family Configuration Guide
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.
Perform the following configuration in system view.
Tab le 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 } ]
Required
3 Shut down the SFTP client
sftp-client> bye
Optional sftp-client> exit
sftp-client> quit
4
SFTP
directory
operation
Chang the current
directory
sftp-client> cd [remote-path ]
-
Return to the upper
directory
sftp-client> cdup
Display the current
directory
sftp-client> pwd
Display the file list in
the specified
directory
sftp-client> dir [remote-path ]
sftp-client> ls [remote-path ]
Delete a directory on
the server
sftp-client> rmdir remote-path
5
SFTP file
operation
Change the name of
the specified file on
the server
sftp-client> rename oldname
newname
Optional
Download a file from
the remote server
sftp-client> get remote-file [
local-file ]
Upload a local file to
the remote server
sftp-client> put local-file [
remote-file ]
Display the file list in
the specified
directory
sftp-client> dir [remote-path ]
sftp-client> ls [remote-path ]
Delete a file from the
server
sftp-client> remove remote-file
sftp-client> delete remote-file
6 Command help on the client sftp-client> help [ command ] Optional