Name
scp
Synopsis
scp [options]file1 file2scp [options]file ... directory
Securely copies files between two machines, using
ssh as the transport. Each
file or directory is either
a remote filename of the form rname@rhost:path
or a local filename.
scp does not preserve resource forks or metadata
when copying files that contain them.
Options
-
-B Run in batch mode; don’t prompt for passwords.
-
-ccipher Use the specified type of encryption, either blowfish, des, or 3des. (3des is the default.)
-
-C Turn on compression.
-
-Ffilename Use specified ssh configuration file.
-
-ikeyfile Specify an identity file to use for authentication. The default is
$HOME/.ssh/identity.-
-okeyword Set configuration keyword.
-
-p Preserve modification times and modes of the source files.
-
-Pport Select TCP port number.
-
-r If any of the source files are directories,
scpcopies each subtree rooted at that name. The destination must be a directory.-
-Spathname Use the local ssh executable located at pathname.
-
-q Run in quiet mode.
-
-v Be verbose.
-
-4 Use only IPv4 addresses.
-
-6 Use only IPv6 addresses.