Working With Sftp Directories - H3C S5120-HI Security Configuration Manual

Hide thumbs Also See for S5120-HI:
Table of Contents

Advertisement

Task
Establish a
connection
to the remote
SFTP server
and enter
SFTP client
view.

Working with SFTP directories

SFTP directory operations include:
Changing or displaying the current working directory
Displaying files under a directory or the directory information
Changing the name of a directory on the server
Creating or deleting a directory
To work with the SFTP directories:
Step
Enter SFTP client view.
1.
2.
Change the working directory
of the remote SFTP server.
3.
Return to the upper-level
directory.
4.
Display the current working
directory of the remote SFTP
server.
Command
Establish a connection to the remote IPv4 SFTP server and enter SFTP client
view:
In non-FIPS mode:
sftp server [ port-number ] [ identity-key { dsa | rsa } |
prefer-ctos-cipher { 3des | aes128 | des } | prefer-ctos-hmac { md5 |
md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange |
dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | aes128 | des }
| prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] *
In FIPS mode:
sftp ipv6 server [ port-number ] [ identity-key rsa | prefer-ctos-cipher
{ aes128 | aes256 } | prefer-ctos-hmac { sha1 | sha1-96 } |
prefer-kex dh-group14 | prefer-stoc-cipher { aes128 | aes256 } |
prefer-stoc-hmac { sha1 | sha1-96 } ] *
Establish a connection to the remote IPv6 SFTP server and enter SFTP client
view:
In non-FIPS mode:
sftp ipv6 server [ port-number ] [ identity-key { dsa | rsa } |
prefer-ctos-cipher { 3des | aes128 | des } | prefer-ctos-hmac { md5 |
md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange |
dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | aes128 | des }
| prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] *
In FIPS mode:
sftp ipv6 server [ port-number ] [ identity-key rsa | prefer-ctos-cipher
{ aes128 | aes256 } | prefer-ctos-hmac { sha1 | sha1-96 } |
prefer-kex dh-group14 | prefer-stoc-cipher { aes128 | aes256 } |
prefer-stoc-hmac { sha1 | sha1-96 } ] *
Command
For more information, see
"Establishing a connection to the
SFTP
cd [ remote-path ]
cdup
pwd
server."
279
Remarks
Use one of the
commands in
user view.
Remarks
Execute the command in user view.
Optional.
Optional.
Optional.

Advertisement

Table of Contents
loading

Table of Contents