348
scp
Use
scp
to transfer files with an SCP server.
Syntax
In non-FIPS mode:
scp
[
ipv6
]
server
[
port-number
] {
get
|
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
] {
get
|
put
}
source-file-path
[
destination-file-path
] [
identity-key
rsa
|
prefer-compress
{
zlib
|
zlib-openssh
} |
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
} ] *
Views
User view
Default command level
3: Manage level
Parameters
ipv6
: Specifies the type of the server as IPv6. If this keyword is not specified, the server is an IPv4
server.
server
: Specifies an IPv4 or IPv6 server by its address or host name. For an IPv4 server, it is a
case-insensitive string of 1 to 20 characters. For an IPv6 server, it is a case-insensitive string of 1 to
46 characters.
port
-
number
: Specifies the port number of the server, in the range of 0 to 65535. The default is 22.
get
: Downloads the file.
put
: Uploads the file.
source-file-path
: Specifies the directory of the source file.
destination-file-path
: Specifies the directory of the target file. If this argument is not specified, the
directory names of the source and target files are same.
identity-key
: Specifies the algorithm for publickey authentication, either
dsa
or
rsa
. In non-FIPS
mode, the algorithm is either
dsa
or
rsa
. In FIPS mode, the algorithm is
rsa
.
•
dsa
: Specifies the public key algorithm
dsa.
•
rsa
: Specifies the public key algorithm
rsa
.
prefer-compress
: Specifies the preferred compression algorithm. By default, the compression
algorithm is not used.
•
zlib
: Specifies the compression algorithm ZLIB.
•
zlib-openssh
: Specifies the compression algorithm [email protected].
prefer-ctos-cipher
: Specifies the preferred client-to-server encryption algorithm. The default is
aes128
.
•
3des
: Specifies the encryption algorithm 3des-cbc. This keyword is not available in FIPS mode.
•
aes128
: Specifies the encryption algorithm aes128-cbc.
•
aes256
: Specifies the encryption algorithm aes256-cbc. This keyword is not available in
non-FIPS mode.