Operation Manual - SSH Terminal Services 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 1  SSH Terminal Services
 
Huawei Technologies Proprietary 
1-18 
Operation  
Command 
Key word 
View  Description
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-16 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 
 
II. Disabling the SFTP client  
Table 1-17 Disable the SFTP client  
Operation  Command  Description 
Enter system view  
system-view 
—
 
Enter SFTP client view   sftp { host-ip | host-name } 
—