diff options
Diffstat (limited to 'scp.1')
-rw-r--r-- | scp.1 | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -9,9 +9,9 @@ | |||
9 | .\" | 9 | .\" |
10 | .\" Created: Sun May 7 00:14:37 1995 ylo | 10 | .\" Created: Sun May 7 00:14:37 1995 ylo |
11 | .\" | 11 | .\" |
12 | .\" $OpenBSD: scp.1,v 1.42 2007/08/06 19:16:06 sobrado Exp $ | 12 | .\" $OpenBSD: scp.1,v 1.46 2008/07/12 05:33:41 djm Exp $ |
13 | .\" | 13 | .\" |
14 | .Dd $Mdocdate: August 8 2007 $ | 14 | .Dd $Mdocdate: July 12 2008 $ |
15 | .Dt SCP 1 | 15 | .Dt SCP 1 |
16 | .Os | 16 | .Os |
17 | .Sh NAME | 17 | .Sh NAME |
@@ -56,9 +56,15 @@ Unlike | |||
56 | will ask for passwords or passphrases if they are needed for | 56 | will ask for passwords or passphrases if they are needed for |
57 | authentication. | 57 | authentication. |
58 | .Pp | 58 | .Pp |
59 | Any file name may contain a host and user specification to indicate | 59 | File names may contain a user and host specification to indicate |
60 | that the file is to be copied to/from that host. | 60 | that the file is to be copied to/from that host. |
61 | Copies between two remote hosts are permitted. | 61 | Local file names can be made explicit using absolute or relative pathnames |
62 | to avoid | ||
63 | .Nm | ||
64 | treating file names containing | ||
65 | .Sq :\& | ||
66 | as host specifiers. | ||
67 | Copies between two remote hosts are also permitted. | ||
62 | .Pp | 68 | .Pp |
63 | The options are as follows: | 69 | The options are as follows: |
64 | .Bl -tag -width Ds | 70 | .Bl -tag -width Ds |
@@ -98,7 +104,7 @@ per-user configuration file for | |||
98 | This option is directly passed to | 104 | This option is directly passed to |
99 | .Xr ssh 1 . | 105 | .Xr ssh 1 . |
100 | .It Fl i Ar identity_file | 106 | .It Fl i Ar identity_file |
101 | Selects the file from which the identity (private key) for RSA | 107 | Selects the file from which the identity (private key) for public key |
102 | authentication is read. | 108 | authentication is read. |
103 | This option is directly passed to | 109 | This option is directly passed to |
104 | .Xr ssh 1 . | 110 | .Xr ssh 1 . |
@@ -178,9 +184,14 @@ is already reserved for preserving the times and modes of the file in | |||
178 | Preserves modification times, access times, and modes from the | 184 | Preserves modification times, access times, and modes from the |
179 | original file. | 185 | original file. |
180 | .It Fl q | 186 | .It Fl q |
181 | Disables the progress meter. | 187 | Quiet mode: disables the progress meter as well as warning and diagnostic |
188 | messages from | ||
189 | .Xr ssh 1 . | ||
182 | .It Fl r | 190 | .It Fl r |
183 | Recursively copy entire directories. | 191 | Recursively copy entire directories. |
192 | Note that | ||
193 | .Nm | ||
194 | follows symbolic links encountered in the tree traversal. | ||
184 | .It Fl S Ar program | 195 | .It Fl S Ar program |
185 | Name of | 196 | Name of |
186 | .Ar program | 197 | .Ar program |