Configuring The Switch As The Scp Client; Scp Client Configuration Example - HP 6125G Configuration Manual

Security configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Configuring the switch as the SCP client

To upload or download files to or from an SCP server:
Step
1.
Upload a file
to an SCP
server.
2.
Download a
file from an
SCP server.
IMPORTANT:
File transfer interruption during a downloading process can result in file fragments on the switch. You must
manually delete them.

SCP client configuration example

Network requirements
As shown in
has the username test and uses the password authentication method.
Command
Upload a file to the IPv4 SCP server:
scp server [ port-number ] put source-file-path [ destination-file-path ]
[ 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 } ] *
Upload a file to the IPv6 SCP server:
scp ipv6 server [ port-number ] put source-file-path
[ destination-file-path ] [ 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 } ] *
Download a file from the remote IPv4 SCP server:
scp server [ port-number ] get source-file-path [ destination-file-path ]
[ 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 } ] *
Download a file from the remote IPv6 SCP server:
scp ipv6 server [ port-number ] get source-file-path
[ destination-file-path ] [ 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 } ] *
Figure
63, switch A acts as a client and download the file remote.bin from switch B. The user
213
Remarks
Use one of the
commands.
Available in
user view.

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents