![H3C S9500E Series Security Configuration Manual Download Page 145](http://html1.mh-extra.com/html/h3c/s9500e-series/s9500e-series_security-configuration-manual_3156952145.webp)
145
To do…
Use the command…
Remarks
Establish a
connection to
the remote IPv6
SFTP server and
enter SFTP client
view
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
} ] *
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:
To do…
Use the command…
Remarks
1.
Enter SFTP client view
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
} ] *
Required
Execute the command in user view.
2.
Change the working directory
of the remote SFTP server
cd
[
remote-path
]
Optional
3.
Return to the upper-level
directory
cdup
Optional
4.
Display the current working
directory of the remote SFTP
server
pwd
Optional
5.
Display files under a specified
directory
dir
[
-a
|
-l
] [
remote-path
]
Optional
The
dir
command functions as the
ls
command.
ls
[
-a
|
-l
] [
remote-path
]
6.
Change the name of a
specified directory on the SFTP
server
rename
oldname
newname
Optional