Terminating the connection with the sftp server, Configuring the device as an scp client, Scp client configuration task list – H3C Technologies H3C SecBlade LB Cards User Manual
Page 181: Transferring files with an scp server
170
Terminating the connection with the SFTP server
Step Command
Remarks
1.
Enter SFTP client view.
For more information, see
"
Establishing a connection to an
."
N/A
2.
Terminate the connection with
the SFTP server and return to
user view.
•
bye
•
exit
•
quit
Use any of the commands.
These three commands function in
the same way.
Configuring the device as an SCP client
This section describes how to configure the device as an SCP client.
SCP client configuration task list
Task Remarks
Enabling and disabling first-time authentication
Optional.
Transferring files with an SCP server
Required.
Transferring files with an SCP server
Task Command
Remarks
Connect to the SCP
server, and transfer files
with the server.
•
Upload a file to the SCP server:
scp [ ipv6 ] server [ port-number ] put source-file-path
[ destination-file-path ] [ prefer-compress { zlib |
zlib-openssh } | 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 } ] *
•
Download a file from the SCP server:
scp [ ipv6 ] server [ port-number ] get source-file-path
[ destination-file-path ] [ prefer-compress { zlib |
zlib-openssh } | 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 } ] *
Use either command.