![H3C S5120-SI Series Operation Manual Download Page 473](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174473.webp)
2-5
To do…
Use the command…
Remarks
Enter SFTP client view
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
} ] *
Required
Execute the command in user
view.
Display a list of all commands
or the help information of an
SFTP client command
help
[
all
|
command-name
]
Required
Terminating the Connection to the Remote SFTP Server
Follow these steps to terminate the connection to the remote SFTP server:
To do…
Use the command…
Remarks
Enter SFTP client view
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
} ] *
Required
Execute the command in user
view.
bye
exit
Terminate the connection to the
remote SFTP server and return
to user view
quit
Required.
Use any of the commands.
These three commands
function in the same way.
SFTP Client Configuration Example
Network requirements
As shown in
Figure 2-1
, an SSH connection is established between Switch A and Switch B. Switch A, an
SFTP client, logs in to Switch B for file management and file transfer. An SSH user uses publickey
authentication with the public key algorithm being RSA.