diff options
Diffstat (limited to 'scp.1')
-rw-r--r-- | scp.1 | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -8,9 +8,9 @@ | |||
8 | .\" | 8 | .\" |
9 | .\" Created: Sun May 7 00:14:37 1995 ylo | 9 | .\" Created: Sun May 7 00:14:37 1995 ylo |
10 | .\" | 10 | .\" |
11 | .\" $OpenBSD: scp.1,v 1.75 2017/10/21 23:06:24 millert Exp $ | 11 | .\" $OpenBSD: scp.1,v 1.76 2017/10/25 06:19:46 jmc Exp $ |
12 | .\" | 12 | .\" |
13 | .Dd $Mdocdate: October 21 2017 $ | 13 | .Dd $Mdocdate: October 25 2017 $ |
14 | .Dt SCP 1 | 14 | .Dt SCP 1 |
15 | .Os | 15 | .Os |
16 | .Sh NAME | 16 | .Sh NAME |
@@ -18,7 +18,6 @@ | |||
18 | .Nd secure copy (remote file copy program) | 18 | .Nd secure copy (remote file copy program) |
19 | .Sh SYNOPSIS | 19 | .Sh SYNOPSIS |
20 | .Nm scp | 20 | .Nm scp |
21 | .Bk -words | ||
22 | .Op Fl 346BCpqrv | 21 | .Op Fl 346BCpqrv |
23 | .Op Fl c Ar cipher | 22 | .Op Fl c Ar cipher |
24 | .Op Fl F Ar ssh_config | 23 | .Op Fl F Ar ssh_config |
@@ -27,8 +26,7 @@ | |||
27 | .Op Fl o Ar ssh_option | 26 | .Op Fl o Ar ssh_option |
28 | .Op Fl P Ar port | 27 | .Op Fl P Ar port |
29 | .Op Fl S Ar program | 28 | .Op Fl S Ar program |
30 | .Ar source ... | 29 | .Ar source ... target |
31 | .Ar target | ||
32 | .Sh DESCRIPTION | 30 | .Sh DESCRIPTION |
33 | .Nm | 31 | .Nm |
34 | copies files between hosts on a network. | 32 | copies files between hosts on a network. |
@@ -42,15 +40,18 @@ will ask for passwords or passphrases if they are needed for | |||
42 | authentication. | 40 | authentication. |
43 | .Pp | 41 | .Pp |
44 | The | 42 | The |
45 | .Ar target | 43 | .Ar source |
46 | and | 44 | and |
47 | .Ar destination | 45 | .Ar target |
48 | may be specified as a local pathname, a remote host with optional path | 46 | may be specified as a local pathname, a remote host with optional path |
49 | in the form | 47 | in the form |
50 | .Oo Ar user Ns @ Oc Ns Ar host Ns : Ns Oo Ar path Oc , | 48 | .Sm off |
51 | or an scp URI in the form | 49 | .Oo user @ Oc host : Op path , |
52 | .No scp:// Ns Oo Ar user Ns @ Oc Ns Ar host Ns | 50 | .Sm on |
53 | .Oo : Ns Ar port Oc Ns Oo / Ns Ar path Oc . | 51 | or a URI in the form |
52 | .Sm off | ||
53 | .No scp:// Oo user @ Oc host Oo : port Oc Op / path . | ||
54 | .Sm on | ||
54 | Local file names can be made explicit using absolute or relative pathnames | 55 | Local file names can be made explicit using absolute or relative pathnames |
55 | to avoid | 56 | to avoid |
56 | .Nm | 57 | .Nm |