diff options
Diffstat (limited to 'scp.0')
-rw-r--r-- | scp.0 | 93 |
1 files changed, 93 insertions, 0 deletions
@@ -0,0 +1,93 @@ | |||
1 | SCP(1) BSD General Commands Manual SCP(1) | ||
2 | |||
3 | ^[[1mNAME^[[0m | ||
4 | ^[[1mscp ^[[22mM-bMM-^R secure copy (remote file copy program) | ||
5 | |||
6 | ^[[1mSYNOPSIS^[[0m | ||
7 | ^[[1mscp ^[[22m[^[[1mM-bMM-^RpqrvBC1246^[[22m] [^[[1mM-bMM-^RF ^[[4m^[[22mssh_config^[[24m] [^[[1mM-bMM-^RS ^[[4m^[[22mprogram^[[24m] [^[[1mM-bMM-^RP ^[[4m^[[22mport^[[24m] [^[[1mM-bMM-^Rc ^[[4m^[[22mcipher^[[24m] | ||
8 | [^[[1mM-bMM-^Ri ^[[4m^[[22midentity_file^[[24m] [^[[1mM-bMM-^Rl ^[[4m^[[22mlimit^[[24m] [^[[1mM-bMM-^Ro ^[[4m^[[22mssh_option^[[24m] [[^[[4muser@^[[24m]^[[4mhost1^[[24m:]^[[4mfile1^[[0m | ||
9 | [^[[4m...^[[24m] [[^[[4muser@^[[24m]^[[4mhost2^[[24m:]^[[4mfile2^[[0m | ||
10 | |||
11 | ^[[1mDESCRIPTION^[[0m | ||
12 | ^[[1mscp ^[[22mcopies files between hosts on a network. It uses ssh(1) for data | ||
13 | transfer, and uses the same authentication and provides the same security | ||
14 | as ssh(1). Unlike rcp(1), ^[[1mscp ^[[22mwill ask for passwords or passphrases if | ||
15 | they are needed for authentication. | ||
16 | |||
17 | Any file name may contain a host and user specification to indicate that | ||
18 | the file is to be copied to/from that host. Copies between two remote | ||
19 | hosts are permitted. | ||
20 | |||
21 | The options are as follows: | ||
22 | |||
23 | ^[[1mM-bMM-^Rc ^[[4m^[[22mcipher^[[0m | ||
24 | Selects the cipher to use for encrypting the data transfer. This | ||
25 | option is directly passed to ssh(1). | ||
26 | |||
27 | ^[[1mM-bMM-^Ri ^[[4m^[[22midentity_file^[[0m | ||
28 | Selects the file from which the identity (private key) for RSA | ||
29 | authentication is read. This option is directly passed to | ||
30 | ssh(1). | ||
31 | |||
32 | ^[[1mM-bMM-^Rl ^[[4m^[[22mlimit^[[0m | ||
33 | Limits the used bandwidth, specified in Kbit/s. | ||
34 | |||
35 | ^[[1mM-bMM-^Rp ^[[22mPreserves modification times, access times, and modes from the | ||
36 | original file. | ||
37 | |||
38 | ^[[1mM-bMM-^Rr ^[[22mRecursively copy entire directories. | ||
39 | |||
40 | ^[[1mM-bMM-^Rv ^[[22mVerbose mode. Causes ^[[1mscp ^[[22mand ssh(1) to print debugging messages | ||
41 | about their progress. This is helpful in debugging connection, | ||
42 | authentication, and configuration problems. | ||
43 | |||
44 | ^[[1mM-bMM-^RB ^[[22mSelects batch mode (prevents asking for passwords or | ||
45 | passphrases). | ||
46 | |||
47 | ^[[1mM-bMM-^Rq ^[[22mDisables the progress meter. | ||
48 | |||
49 | ^[[1mM-bMM-^RC ^[[22mCompression enable. Passes the ^[[1mM-bMM-^RC ^[[22mflag to ssh(1) to enable comM-bM-^@M-^P | ||
50 | pression. | ||
51 | |||
52 | ^[[1mM-bMM-^RF ^[[4m^[[22mssh_config^[[0m | ||
53 | Specifies an alternative perM-bM-^@M-^Puser configuration file for ^[[1mssh^[[22m. | ||
54 | This option is directly passed to ssh(1). | ||
55 | |||
56 | ^[[1mM-bMM-^RP ^[[4m^[[22mport^[[0m | ||
57 | Specifies the port to connect to on the remote host. Note that | ||
58 | this option is written with a capital M-bM-^@M-^XPM-bM-^@M-^Y, because ^[[1mM-bMM-^Rp ^[[22mis already | ||
59 | reserved for preserving the times and modes of the file in | ||
60 | rcp(1). | ||
61 | |||
62 | ^[[1mM-bMM-^RS ^[[4m^[[22mprogram^[[0m | ||
63 | Name of ^[[4mprogram^[[24m to use for the encrypted connection. The program | ||
64 | must understand ssh(1) options. | ||
65 | |||
66 | ^[[1mM-bMM-^Ro ^[[4m^[[22mssh_option^[[0m | ||
67 | Can be used to pass options to ^[[1mssh ^[[22min the format used in | ||
68 | ssh_config(5). This is useful for specifying options for which | ||
69 | there is no separate ^[[1mscp ^[[22mcommandM-bM-^@M-^Pline flag. | ||
70 | |||
71 | ^[[1mM-bMM-^R1 ^[[22mForces ^[[1mscp ^[[22mto use protocol 1. | ||
72 | |||
73 | ^[[1mM-bMM-^R2 ^[[22mForces ^[[1mscp ^[[22mto use protocol 2. | ||
74 | |||
75 | ^[[1mM-bMM-^R4 ^[[22mForces ^[[1mscp ^[[22mto use IPv4 addresses only. | ||
76 | |||
77 | ^[[1mM-bMM-^R6 ^[[22mForces ^[[1mscp ^[[22mto use IPv6 addresses only. | ||
78 | |||
79 | ^[[1mDIAGNOSTICS^[[0m | ||
80 | ^[[1mscp ^[[22mexits with 0 on success or >0 if an error occurred. | ||
81 | |||
82 | ^[[1mAUTHORS^[[0m | ||
83 | Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> | ||
84 | |||
85 | ^[[1mHISTORY^[[0m | ||
86 | ^[[1mscp ^[[22mis based on the rcp(1) program in BSD source code from the Regents of | ||
87 | the University of California. | ||
88 | |||
89 | ^[[1mSEE ALSO^[[0m | ||
90 | rcp(1), sftp(1), ssh(1), sshM-bM-^@M-^Padd(1), sshM-bM-^@M-^Pagent(1), sshM-bM-^@M-^Pkeygen(1), | ||
91 | ssh_config(5), sshd(8) | ||
92 | |||
93 | BSD September 25, 1999 BSD | ||