H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – SSH
H3C S7500E Series Ethernet Switches Chapter 2 SFTP Service
2-6
To do… Use the command… Remarks
Establish a connection to
the remote SFTP server
and enter SFTP client
view
sftp [ ipv6 ] server [ port-number ]
[ 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
2.3.6 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
Establish a
connection to the
remote SFTP
server and enter
SFTP client view
sftp [ ipv6 ] server [ port-number ]
[ 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.
2.4 SFTP Configuration Example
I. Network requirements
As shown in Figure 2-1, an SSH connection is established between Switch A and
Switch B. Switch A, as an SFTP client, uses the username client001 and password
aabbcc to login to Switch B for file management and file transfer.