Specifications
3-71
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
scp
scp
To copy files between network hosts, use the scp command.
scp [1][2][4][6][B][C][p][q][r][v] [c cipher] [F config-file] [i id-file] [l limit]
[o ssh_option] [P port] [S program] [[user @] host : file] [...] [[user-n @] host-n : file-n]
Syntax Description 1 (Optional) Forces this command to use protocol 1.
2 (Optional) Forces this command to use protocol 2.
4 (Optional) Forces this command to use only IPv4 addresses.
6 (Optional) Forces this command to use only IPv6 addresses.
B (Optional) Specifies the batch mode. In this mode, the scp command does
not ask for passwords or passphrases.
C (Optional) Enables compression. The scp command passes this option to
the ssh command to enable compression.
p (Optional) Preserves the following information from the source file:
modification times, access times, and modes.
q (Optional) Disables the display of progress information.
r (Optional) Recursively copies directories and their contents.
v (Optional) Specifies the verbose mode. Causes the scp and ssh commands
to print debugging messages about their progress. This option can be
helpful when troubleshooting connection, authentication, and configuration
problems.
c (Optional) Specifies the cipher to use for encrypting the data being copied.
The scp command directly passes this option to the ssh command.
cipher The cipher to use for encrypting the data being copied.
F (Optional) Specifies an alternative per-user configuration file for Secure
Shell (SSH). The scp command directly passes this option to the ssh
command.
config-file Name of the configuration file.
i (Optional) Specifies the file containing the private key for RSA
authentication. The scp command directly passes this information to the ssh
command.
id-file The name of the file containing the private key for RSA authentication.
l (Optional) Limits the use of bandwidth.
limit The bandwidth to use for copying files in kbps.
o (Optional) Passes options to the ssh command in the format used in
ssh_config5.
ssh_option See the ssh command for more information about the possible options.
P (Optional) Specifies the port to connect to on the remote host.
port The port to connect to on the remote host.
S (Optional) Specifies the program to use for the encrypted connection.
program Name of the program to use for the encrypted connection.
user (Optional) Username.