scp copies files between hosts on a network. It uses ssh(1) for
transfer, and uses the same authentication and provides the same
as ssh(1). Unlike rcp(1), scp will ask for passwords or
they are needed for authentication.
Any file name may contain a host and user specification to
the file is to be copied to/from that host. Copies between two
hosts are permitted.
The options are as follows:
-1 Forces scp to use protocol 1.
-2 Forces scp to use protocol 2.
-4 Forces scp to use IPv4 addresses only.
-6 Forces scp to use IPv6 addresses only.
-B Selects batch mode (prevents asking for passwords or
-C Compression enable. Passes the -C flag to ssh(1) to
Selects the cipher to use for encrypting the data
option is directly passed to ssh(1).
Specifies an alternative per-user configuration file for
This option is directly passed to ssh(1).
Selects the file from which the identity (private key)
authentication is read. This option is directly passed