version 1.99, 2021/08/10 03:33:34 |
version 1.100, 2021/08/11 14:07:54 |
|
|
.Pp |
.Pp |
When copying between two remote hosts, if the URI format is used, a |
When copying between two remote hosts, if the URI format is used, a |
.Ar port |
.Ar port |
may only be specified on the |
cannot be specified on the |
.Ar target |
.Ar target |
if the |
if the |
.Fl 3 |
.Fl R |
option is used. |
option is used. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
|
|
options. |
options. |
.It Fl s |
.It Fl s |
Use the SFTP protocol for file transfers instead of the legacy SCP protocol. |
Use the SFTP protocol for file transfers instead of the legacy SCP protocol. |
Using SFTP provides avoids invoking a shell on the remote side and provides |
Using SFTP avoids invoking a shell on the remote side and provides |
more predictable filename handling, as the SCP protocol |
more predictable filename handling, as the SCP protocol |
relied on the remote shell for expanding |
relied on the remote shell for expanding |
.Xr glob 3 |
.Xr glob 3 |