version 1.13.2.6, 2002/03/08 17:04:42 |
version 1.14, 2001/02/04 11:11:53 |
|
|
.Nd secure copy (remote file copy program) |
.Nd secure copy (remote file copy program) |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm scp |
.Nm scp |
.Op Fl pqrvBC46 |
.Op Fl pqrvC46 |
.Op Fl F Ar ssh_config |
|
.Op Fl S Ar program |
.Op Fl S Ar program |
.Op Fl P Ar port |
.Op Fl P Ar port |
.Op Fl c Ar cipher |
.Op Fl c Ar cipher |
.Op Fl i Ar identity_file |
.Op Fl i Ar identity_file |
.Op Fl o Ar ssh_option |
.Op Fl o Ar option |
.Sm off |
.Sm off |
.Oo |
.Oo |
.Op Ar user@ |
.Op Ar user@ |
|
|
flag to |
flag to |
.Xr ssh 1 |
.Xr ssh 1 |
to enable compression. |
to enable compression. |
.It Fl F Ar ssh_config |
|
Specifies an alternative |
|
per-user configuration file for |
|
.Nm ssh . |
|
This option is directly passed to |
|
.Xr ssh 1 . |
|
.It Fl P Ar port |
.It Fl P Ar port |
Specifies the port to connect to on the remote host. |
Specifies the port to connect to on the remote host. |
Note that this option is written with a capital |
Note that this option is written with a capital |
|
|
The program must understand |
The program must understand |
.Xr ssh 1 |
.Xr ssh 1 |
options. |
options. |
.It Fl o Ar ssh_option |
.It Fl o Ar option |
Can be used to pass options to |
The given option is directly passed to |
.Nm ssh |
.Xr ssh 1 . |
in the format used in the |
|
.Xr ssh 1 |
|
configuration file. This is useful for specifying options |
|
for which there is no separate |
|
.Nm scp |
|
command-line flag. For example, forcing the use of protocol |
|
version 1 is specified using |
|
.Ic scp -oProtocol=1 . |
|
.It Fl 4 |
.It Fl 4 |
Forces |
Forces |
.Nm |
.Nm |
|
|
.Nm |
.Nm |
to use IPv6 addresses only. |
to use IPv6 addresses only. |
.El |
.El |
.Sh DIAGNOSTICS |
|
.Nm |
|
exits with 0 on success or >0 if an error occurred. |
|
.Sh AUTHORS |
.Sh AUTHORS |
Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> |
Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> |
.Sh HISTORY |
.Sh HISTORY |