3com 5500-SI Manual Do Utilizador

Página de 686
SFTP Service 211
SFTP Client
Configuration
The following sections describe SFTP client configuration tasks: 
Configuring SFTP client 
Enabling the SFTP client 
You can enable the SFTP client, establish a connection to the remote SFTP server and 
enter STP client view. 
Table 191   Configuring SFTP client 
Serial 
No Operation 
Command
View
Description
1
Enable the SFTP client 
sftp
System view
Required
2
Disable the SFTP client 
bye
SFTP client view  Optional
exit
quit
3
SFTP directory 
-related 
operations 
Change the current 
directory 
cd
SFTP client view  Optional
Return to the upper 
directory
cdup
Display the current 
directory 
pwd
Display the list of the 
files in a directory 
dir
ls
Create a new directory 
mkdir
Delete a directory 
rmdir
4
SFTP 
file-related 
operations 
Rename a file on the 
SFTP server 
rename
SFTP client view  Optional
Download a file from 
the remote SFTP server 
get
Upload a local file to the 
remote SFTP server 
put
Display the list of the 
files in a directory 
dir
ls
Delete a file from the 
SFTP server 
delete
remove
5
Get help information about SFTP client 
commands 
help
SFTP client view Optional
Table 192   Enable the SFTP client 
Operation
Command
Description
Enter system view 
system-view
-
Enable the SFTP 
client 
sftp
 ipaddr [ 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