Specifications

3-155
Cisco Wide Area Application Services Command Reference
OL-21611-01
Chapter 3 CLI Commands
scp
scp
To copy files between network hosts, use the scp command.
scp [4][6][B][C][p][q][r][v] [c cipher] [F config-file] [i id-file] [o ssh_option] [P port] [S program]
[[user @] host : file] [...] [[user-n @] host-n : file-n]
Syntax Description
Command Modes EXEC
Device Modes application-accelerator
central-manager
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 cipher (Optional) Specifies the cipher to use for encrypting the data being copied.
The scp command directly passes this option to the ssh command.
F config-file (Optional) Specifies an alternative per-user configuration file for Secure
Shell (SSH). The scp command directly passes this option to the ssh
command.
i id-file (Optional) Specifies the file containing the private key for RSA
authentication. The scp command directly passes this information to the ssh
command.
o ssh_option (Optional) Passes options to the ssh command in the format used in
ssh_config5. See the ssh command for more information about the possible
options.
P port (Optional) Specifies the port to connect to on the remote host.
S program (Optional) Specifies the program to use for the encrypted connection.
user (Optional) Username.
host (Optional) Hostname.
file (Optional) Name of the file to copy.