H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches Chapter 1
SSH Terminal Service Configuration
1-15
To do...
Command
Key word
View Remarks
Rename a file on the
SFTP server
rename
Download a file from
the remote SFTP
server
get
Upload a local file to
the remote SFTP
server
put
dir
Display the list of the
files in a directory
ls
delete
SFTP
file-related
operations
Delete a file from the
SFTP server
remove
SFTP client
view
Optional
Get help information about SFTP
client commands
help
SFTP client
view
Optional
I. Enabling the SFTP client
You can enable the SFTP client, establish a connection to the remote SFTP server and
enter STP client view.
Table 1-12 Enable the SFTP client
To do... Use the command... Remarks
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
II. Disabling the SFTP client
Table 1-13 Disable the SFTP client
To do... Use the command... Remarks
Enter system view
system-view
Enter SFTP client view
sftp { host-ip |
host-name }