version 1.97, 2021/08/02 23:38:27 |
version 1.98, 2021/08/09 23:56:36 |
|
|
.Nd OpenSSH secure file copy |
.Nd OpenSSH secure file copy |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm scp |
.Nm scp |
.Op Fl 346ABCpqrTv |
.Op Fl 346ABCpqRrTv |
.Op Fl c Ar cipher |
.Op Fl c Ar cipher |
.Op Fl D Ar sftp_server_path |
.Op Fl D Ar sftp_server_path |
.Op Fl F Ar ssh_config |
.Op Fl F Ar ssh_config |
|
|
Copies between two remote hosts are transferred through the local host. |
Copies between two remote hosts are transferred through the local host. |
Without this option the data is copied directly between the two remote |
Without this option the data is copied directly between the two remote |
hosts. |
hosts. |
Note that this option disables the progress meter and selects batch mode |
Note that, when using the legacy SCP protocol (the default), this option |
for the second host, since |
selects batch mode for the second host as |
.Nm |
.Nm |
cannot ask for passwords or passphrases for both hosts. |
cannot ask for passwords or passphrases for both hosts. |
|
This mode is the default. |
.It Fl 4 |
.It Fl 4 |
Forces |
Forces |
.Nm |
.Nm |
|
|
Quiet mode: disables the progress meter as well as warning and diagnostic |
Quiet mode: disables the progress meter as well as warning and diagnostic |
messages from |
messages from |
.Xr ssh 1 . |
.Xr ssh 1 . |
|
.It Fl R |
|
Copies between two remote hosts are performed by connecting to the origin |
|
host and executing |
|
.Nm |
|
there. |
|
This requires that |
|
.Nm |
|
running on the origin host can authenticate to the destination host without |
|
requiring a password. |
.It Fl r |
.It Fl r |
Recursively copy entire directories. |
Recursively copy entire directories. |
Note that |
Note that |