3Com Switch 7750 Configuration Guide Guide

728 CHAPTER 67: SSH TERMINAL SERVICES
Disabling the SFTP client
Operating with SFTP directories
SFTP directory-related operations include: changing or displaying the current
directory, creating or deleting a directory, displaying files or information of a
specific directory.
Operating with SFTP files
SFTP file-related operations include: changing file name, downloading files,
uploading files, displaying the list of the files, deleting files.
Tabl e 562 Enable the SFTP client
Operation Command Description
Enter system view system-view -
Enable the SFTP client
sftp { host-ip | host-name } [
port-num ] [ 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
Tabl e 563 Disable the SFTP client
Operation Command Description
Enter system view system-view -
Enter SFTP client view sftp { host-ip | host-name } -
Disable the SFTP client
bye
The three commands have the
same function.
exit
quit
Tabl e 564 Operate with SFTP directories
Operation Command Description
Enter system view system-view
Optional
Enter SFTP client view sftp { host-ip | host-name }
Change the current directory cd remote-path
Return to the upper directory cdup
Display the current directory pwd
Display the list of the files in a
directory
dir [ remote-path ] Optional
The dir and ls commands
have the same function.
ls [ remote-path ]
Create a directory on the SFTP
server
mkdir remote-path
Optional
Delete a directory from the
SFTP server
rmdir remote-path