version 1.21.2.2, 2003/04/03 22:35:17 |
version 1.22, 2002/06/20 20:00:05 |
|
|
.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 pqrvBC46 |
.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 |
.It Fl 1 |
version 1 is specified using |
Forces |
.Ic scp -oProtocol=1 . |
.Nm |
|
to use protocol 1. |
|
.It Fl 2 |
|
Forces |
|
.Nm |
|
to use protocol 2. |
|
.It Fl 4 |
.It Fl 4 |
Forces |
Forces |
.Nm |
.Nm |
|
|
.Xr ssh-add 1 , |
.Xr ssh-add 1 , |
.Xr ssh-agent 1 , |
.Xr ssh-agent 1 , |
.Xr ssh-keygen 1 , |
.Xr ssh-keygen 1 , |
.Xr ssh_config 5 , |
.Xr ssh_config 5 |
.Xr sshd 8 |
.Xr sshd 8 |