version 1.23.2.3, 2003/09/16 21:20:26 |
version 1.24, 2003/01/23 14:06:15 |
|
|
.Nd secure copy (remote file copy program) |
.Nd secure copy (remote file copy program) |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm scp |
.Nm scp |
.Bk -words |
|
.Op Fl pqrvBC1246 |
.Op Fl pqrvBC1246 |
.Op Fl F Ar ssh_config |
.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 l Ar limit |
|
.Op Fl o Ar ssh_option |
.Op Fl o Ar ssh_option |
.Sm off |
.Sm off |
.Oo |
.Oo |
|
|
.Ar host2 No : |
.Ar host2 No : |
.Oc Ar file2 |
.Oc Ar file2 |
.Sm on |
.Sm on |
.Ek |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
copies files between hosts on a network. |
copies files between hosts on a network. |
|
|
authentication is read. |
authentication is read. |
This option is directly passed to |
This option is directly passed to |
.Xr ssh 1 . |
.Xr ssh 1 . |
.It Fl l Ar limit |
|
Limits the used bandwidth, specified in Kbit/s. |
|
.It Fl p |
.It Fl p |
Preserves modification times, access times, and modes from the |
Preserves modification times, access times, and modes from the |
original file. |
original file. |
|
|
This is useful for specifying options |
This is useful for specifying options |
for which there is no separate |
for which there is no separate |
.Nm scp |
.Nm scp |
command-line flag. |
command-line flag. For example, forcing the use of protocol |
|
version 1 can be specified using |
|
.Ic scp -oProtocol=1 . |
.It Fl 1 |
.It Fl 1 |
Forces |
Forces |
.Nm |
.Nm |
|
|
.Sh DIAGNOSTICS |
.Sh DIAGNOSTICS |
.Nm |
.Nm |
exits with 0 on success or >0 if an error occurred. |
exits with 0 on success or >0 if an error occurred. |
|
.Sh AUTHORS |
|
Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> |
|
.Sh HISTORY |
|
.Nm |
|
is based on the |
|
.Xr rcp 1 |
|
program in BSD source code from the Regents of the University of |
|
California. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr rcp 1 , |
.Xr rcp 1 , |
.Xr sftp 1 , |
.Xr sftp 1 , |
|
|
.Xr ssh-keygen 1 , |
.Xr ssh-keygen 1 , |
.Xr ssh_config 5 , |
.Xr ssh_config 5 , |
.Xr sshd 8 |
.Xr sshd 8 |
.Sh HISTORY |
|
.Nm |
|
is based on the |
|
.Xr rcp 1 |
|
program in BSD source code from the Regents of the University of |
|
California. |
|
.Sh AUTHORS |
|
.An Timo Rinne Aq tri@iki.fi |
|
and |
|
.An Tatu Ylonen Aq ylo@cs.hut.fi |
|