version 1.13, 2000/10/16 09:38:44 |
version 1.13.2.6, 2002/03/08 17:04:42 |
|
|
.Nd secure copy (remote file copy program) |
.Nd secure copy (remote file copy program) |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm scp |
.Nm scp |
.Op Fl pqrvC46 |
.Op Fl pqrvBC46 |
|
.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 option |
.Op Fl o Ar ssh_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 option |
.It Fl o Ar ssh_option |
The given option is directly passed to |
Can be used to pass options to |
.Xr ssh 1 . |
.Nm ssh |
|
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 |
|
|
California. |
California. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr rcp 1 , |
.Xr rcp 1 , |
|
.Xr sftp 1 , |
.Xr ssh 1 , |
.Xr ssh 1 , |
.Xr ssh-add 1 , |
.Xr ssh-add 1 , |
.Xr ssh-agent 1 , |
.Xr ssh-agent 1 , |