version 1.5, 2000/01/04 16:57:16 |
version 1.6, 2000/03/23 21:10:09 |
|
|
.Sm on |
.Sm on |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
copies files between hosts on a network. It uses |
copies files between hosts on a network. |
|
It uses |
.Xr ssh 1 |
.Xr ssh 1 |
for data transfer, and uses the same authentication and provides the |
for data transfer, and uses the same authentication and provides the |
same security as |
same security as |
|
|
authentication. |
authentication. |
.Pp |
.Pp |
Any file name may contain a host and user specification to indicate |
Any file name may contain a host and user specification to indicate |
that the file is to be copied to/from that host. Copies between two |
that the file is to be copied to/from that host. |
remote hosts are permitted. |
Copies between two remote hosts are permitted. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl c Ar cipher |
.It Fl c Ar cipher |
Selects the cipher to use for encrypting the data transfer. This |
Selects the cipher to use for encrypting the data transfer. |
option is directly passed to |
This option is directly passed to |
.Xr ssh 1 . |
.Xr ssh 1 . |
.It Fl i Ar identity_file |
.It Fl i Ar identity_file |
Selects the file from which the identity (private key) for RSA |
Selects the file from which the identity (private key) for RSA |
authentication is read. This option is directly passed to |
authentication is read. |
|
This option is directly passed to |
.Xr ssh 1 . |
.Xr ssh 1 . |
.It Fl p |
.It Fl p |
Preserves modification times, access times, and modes from the |
Preserves modification times, access times, and modes from the |
|
|
.It Fl r |
.It Fl r |
Recursively copy entire directories. |
Recursively copy entire directories. |
.It Fl v |
.It Fl v |
Verbose mode. Causes |
Verbose mode. |
|
Causes |
.Nm |
.Nm |
and |
and |
.Xr ssh 1 |
.Xr ssh 1 |
to print debugging messages about their progress. This is helpful in |
to print debugging messages about their progress. |
|
This is helpful in |
debugging connection, authentication, and configuration problems. |
debugging connection, authentication, and configuration problems. |
.It Fl B |
.It Fl B |
Selects batch mode (prevents asking for passwords or passphrases). |
Selects batch mode (prevents asking for passwords or passphrases). |
.It Fl q |
.It Fl q |
Disables the progress meter. |
Disables the progress meter. |
.It Fl C |
.It Fl C |
Compression enable. Passes the |
Compression enable. |
|
Passes the |
.Fl C |
.Fl C |
flag to |
flag to |
.Xr ssh 1 |
.Xr ssh 1 |
to enable compression. |
to enable compression. |
.It Fl P Ar port |
.It Fl P Ar port |
Specifies the port to connect to on the remote host. Note that this |
Specifies the port to connect to on the remote host. |
option is written with a capital |
Note that this option is written with a capital |
.Sq P , |
.Sq P , |
because |
because |
.Fl p |
.Fl p |