version 1.75, 2017/10/21 23:06:24 |
version 1.76, 2017/10/25 06:19:46 |
|
|
.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 346BCpqrv |
.Op Fl 346BCpqrv |
.Op Fl c Ar cipher |
.Op Fl c Ar cipher |
.Op Fl F Ar ssh_config |
.Op Fl F Ar ssh_config |
|
|
.Op Fl o Ar ssh_option |
.Op Fl o Ar ssh_option |
.Op Fl P Ar port |
.Op Fl P Ar port |
.Op Fl S Ar program |
.Op Fl S Ar program |
.Ar source ... |
.Ar source ... target |
.Ar target |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
copies files between hosts on a network. |
copies files between hosts on a network. |
|
|
authentication. |
authentication. |
.Pp |
.Pp |
The |
The |
.Ar target |
.Ar source |
and |
and |
.Ar destination |
.Ar target |
may be specified as a local pathname, a remote host with optional path |
may be specified as a local pathname, a remote host with optional path |
in the form |
in the form |
.Oo Ar user Ns @ Oc Ns Ar host Ns : Ns Oo Ar path Oc , |
.Sm off |
or an scp URI in the form |
.Oo user @ Oc host : Op path , |
.No scp:// Ns Oo Ar user Ns @ Oc Ns Ar host Ns |
.Sm on |
.Oo : Ns Ar port Oc Ns Oo / Ns Ar path Oc . |
or a URI in the form |
|
.Sm off |
|
.No scp:// Oo user @ Oc host Oo : port Oc Op / path . |
|
.Sm on |
Local file names can be made explicit using absolute or relative pathnames |
Local file names can be made explicit using absolute or relative pathnames |
to avoid |
to avoid |
.Nm |
.Nm |