Transferring files with an SCP server
Task
Connect to the SCP
server, and transfer files
with the server.
Displaying and maintaining SSH
Task
Display the source IP address or
interface configured for the SFTP
client.
Command
•
Upload a file to the SCP server:
In non-FIPS mode:
scp [ ipv6 ] server [ port-number ] put
source-file-path [ destination-file-path ]
[ identity-key { dsa | rsa } | 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 } ] *
In FIPS mode:
scp [ ipv6 ] server [ port-number ] put
source-file-path [ destination-file-path ]
[ identity-key rsa | prefer-ctos-cipher { aes128 |
aes256 } | prefer-ctos-hmac { sha1 | sha1-96 } |
prefer-kex dh-group14 | prefer-stoc-cipher
{ aes128 | aes256 } | prefer-stoc-hmac { sha1 |
sha1-96 } ] *
•
Download a file from the SCP server:
In non-FIPS mode:
scp [ ipv6 ] server [ port-number ] get
source-file-path [ destination-file-path ]
[ identity-key { dsa | rsa } | 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 } ] *
In FIPS mode:
scp [ ipv6 ] server [ port-number ] get
source-file-path [ destination-file-path ]
[ identity-key rsa | prefer-ctos-cipher { aes128 |
aes256 } | prefer-ctos-hmac { sha1 | sha1-96 } |
prefer-kex dh-group14 | prefer-stoc-cipher
{ aes128 | aes256 } | prefer-stoc-hmac { sha1 |
sha1-96 } ] *
Command
display sftp client source [ | { begin | exclude
| include } regular-expression ]
216
Remarks
Use one of the
commands.
Remarks
Available in any view.