334 CHAPTER 19: SSH TERMINAL SERVICES
Table 363 Start the SFTP client
2 Shutting down the SFTP client
Use this configuration task to shut down the SFTP client program. Perform the
following configuration in SFTP client view.
Table 364 Shut down the SFTP client
The three commands, bye, exit, and quit, have the same functionality.
3 SFTP directory operations
As shown in Tab le 365, available SFTP directory operations include: change or
display the current directory, create or delete a directory, display the specified file
or directory.
Perform the following configuration in SFTP client view.
Table 365 SFTP directory operations
The dir command and the ls command have the same functionality.
4 SFTP file operations
As shown in Tabl e 366, available SFTP file operations include: change the name of
a file, download a file, upload a file, display the list of files, and delete a file.
Perform the following configuration in SFTP user view.
Operation Command
Start the SFTP client sftp { host-ip | host-name } [ port-num
] [ 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 } ]
Operation Command
Shut down the SFTP client bye
exit
quit
Operation Command
Change the current directory cd remote-path
Return to the upper directory cdup
Display the current directory pwd
Display the list of files in the specified
directory
dir [ remote-path ]
ls [ remote-path ]
Create a new directory on the server mkdir remote-path
Delete a directory from the server rmdir remote-path