3com 8807 Reference Guide

Page of 1099
968
C
HAPTER
 56: SSH T
ERMINAL
 S
ERVICE
 C
ONFIGURATION
 C
OMMANDS
View
SFTP Client view
Parameter
oldname: Original file name.
newname: New file name.
Description
Use the rename command to change the name of the specified file on the SFTP 
server.
Example
# Change the name of the file temp1 on the SFTP server to temp2.
sftp-client> rename temp1 temp2 
rmdir
Syntax
rmdir remote-path
View
SFTP Client view
Parameter
remote-path: Name of a directory on the remote SFTP server.
Description
Use the rmdir command to delete the specified directory from the SFTP server.
Example
# Delete the directory D:/temp1 from the SFTP server.
sftp-client> rmdir D:/temp1 
sftp
Syntax
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 } ]
View
System view
Parameter
ipaddr: IP address of the server.
prefer_key: Preferred key exchange algorithm, which can be either 
diffie-hellman-group1-sha1 or diffie-hellman-group-exchange-sha1.
dh_group1: Key exchange algorithm diffie-hellman-group1-sha1, which is default 
algorithm.