3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring an SFTP Client 967
Working with the SFTP
Directories
SFTP directory operations include:
■ Changing or displaying the current working directory
■ Displaying files under a specified directory or the directory information
■ Changing the name of a specified directory on the server
■ Creating or deleting a directory
Follow these steps to work with the SFTP directories:
Establish a
connection to the
remote SFTP
server, and enter
SFTP Client view
Establish a
connection to the
remote IPv4 SFTP
server, and enter
SFTP Client view
sftp { host-ip | host-name } [
port-number ] [
prefer_ctos_cipher { 3des |
aes128 | des } |
prefer_ctos_hmac { md5 |
md5_96 | sha1 | sha1_96 } |
prefer_kex {
dh_exchange_group |
dh_group1 } |
prefer_stoc_cipher { 3des |
aes128 | des } |
prefer_stoc_hmac { md5 |
md5_96 | sha1 | sha1_96 } ] *
Use one command
Establish a
connection to the
remote IPv6 SFTP
server, and enter
SFTP Client view
sftp ipv6 { ipv6-address |
host-name } [ port-number ] [
prefer_ctos_cipher { 3des |
aes128 | des } |
prefer_ctos_hmac { md5 |
md5_96 | sha1 | sha1_96 } |
prefer_kex {
dh_exchange_group |
dh_group1 } |
prefer_stoc_cipher { 3des |
aes128 | des } |
prefer_stoc_hmac { md5 |
md5_96 | sha1 | sha1_96 } ] *
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Establish a connection to the
remote SFTP server, and enter
SFTP Client view
sftp { host-ip | host-name } [
port-number ] [ prefer_kex {
dh_group1 |
dh_exchange_group } |
prefer_ctos_cipher { des |
aes128 | 3des } |
prefer_stoc_cipher { des |
aes128 | 3des } |
prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } |
prefer_stoc_hmac { sha1 |
sha1_96 | md5 | md5_96 } ]*
Required
Change the working directory
of the remote SFTP server
cd [ remote-path ] Optional
Return to the upper-level
directory
cdup Optional