H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-36
Parameters
remote-path&<1-10>: Name of the directory on the remote SFTP server. &<1-10>
means that you can provide up to 10 filenames that are separated by space.
Description
Use the rmdir command to remove the specified directory from the remote SFTP
server.
Examples
# Remove directory hello from the remote SFTP server.
sftp-client>rmdir hello
The followed directory will be deleted
flash:/hello
Are you sure to remove it?(Y/N):y
Directory successfully removed
1.4.17 sftp
Syntax
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 } ] *
View
System view
Parameters
host-ip: IP address of the server.
host-name: Name of the server, a string of 1 to 20 characters.
port-num: Port number of the server, in the range 0 to 65,535. The default port number
is 22.
prefer_kex: Specifies the preferential key exchange algorithm, which is one of the two
algorithms available.
dh_group1: Specifies the Diffie-Hellman-group1-sha1 key exchange algorithm. It is the
default key exchange algorithm.
dh_exchange_group: Specifies the Diffie-Hellman-group-exchange-sha1 key
exchange algorithm.