summaryrefslogtreecommitdiff
path: root/scp.0
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-01-04 12:58:23 +0000
committerColin Watson <cjwatson@debian.org>2005-01-04 12:58:23 +0000
commitebd2ce335af5861020c79fddb1ae35c03bf036cf (patch)
treeec008b93c62e3241ab611d8c949ebc92905c66b4 /scp.0
parente17cc75fe35f62ba52928b5889b5e7aadb62bedb (diff)
parent16f1d21ea191deaaeeba719d01c0ad82aa044653 (diff)
Import OpenSSH 3.9p1.
Diffstat (limited to 'scp.0')
-rw-r--r--scp.0142
1 files changed, 142 insertions, 0 deletions
diff --git a/scp.0 b/scp.0
new file mode 100644
index 000000000..01736fe24
--- /dev/null
+++ b/scp.0
@@ -0,0 +1,142 @@
1SCP(1) OpenBSD Reference Manual SCP(1)
2
3NAME
4 scp - secure copy (remote file copy program)
5
6SYNOPSIS
7 scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
8 [-l limit] [-o ssh_option] [-P port] [-S program]
9 [[user@]host1:]file1 [...] [[user@]host2:]file2
10
11DESCRIPTION
12 scp copies 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), scp will 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 -1 Forces scp to use protocol 1.
24
25 -2 Forces scp to use protocol 2.
26
27 -4 Forces scp to use IPv4 addresses only.
28
29 -6 Forces scp to use IPv6 addresses only.
30
31 -B Selects batch mode (prevents asking for passwords or passphras-
32 es).
33
34 -C Compression enable. Passes the -C flag to ssh(1) to enable com-
35 pression.
36
37 -c cipher
38 Selects the cipher to use for encrypting the data transfer. This
39 option is directly passed to ssh(1).
40
41 -F ssh_config
42 Specifies an alternative per-user configuration file for ssh.
43 This option is directly passed to ssh(1).
44
45 -i identity_file
46 Selects the file from which the identity (private key) for RSA
47 authentication is read. This option is directly passed to
48 ssh(1).
49
50 -l limit
51 Limits the used bandwidth, specified in Kbit/s.
52
53 -o ssh_option
54 Can be used to pass options to ssh in the format used in
55 ssh_config(5). This is useful for specifying options for which
56 there is no separate scp command-line flag. For full details of
57 the options listed below, and their possible values, see
58 ssh_config(5).
59
60 AddressFamily
61 BatchMode
62 BindAddress
63 ChallengeResponseAuthentication
64 CheckHostIP
65 Cipher
66 Ciphers
67 Compression
68 CompressionLevel
69 ConnectionAttempts
70 ConnectTimeout
71 ControlMaster
72 ControlPath
73 GlobalKnownHostsFile
74 GSSAPIAuthentication
75 GSSAPIDelegateCredentials
76 Host
77 HostbasedAuthentication
78 HostKeyAlgorithms
79 HostKeyAlias
80 HostName
81 IdentityFile
82 IdentitiesOnly
83 LogLevel
84 MACs
85 NoHostAuthenticationForLocalhost
86 NumberOfPasswordPrompts
87 PasswordAuthentication
88 Port
89 PreferredAuthentications
90 Protocol
91 ProxyCommand
92 PubkeyAuthentication
93 RhostsRSAAuthentication
94 RSAAuthentication
95 SendEnv
96 ServerAliveInterval
97 ServerAliveCountMax
98 SmartcardDevice
99 StrictHostKeyChecking
100 TCPKeepAlive
101 UsePrivilegedPort
102 User
103 UserKnownHostsFile
104 VerifyHostKeyDNS
105
106 -P port
107 Specifies the port to connect to on the remote host. Note that
108 this option is written with a capital `P', because -p is already
109 reserved for preserving the times and modes of the file in
110 rcp(1).
111
112 -p Preserves modification times, access times, and modes from the
113 original file.
114
115 -q Disables the progress meter.
116
117 -r Recursively copy entire directories.
118
119 -S program
120 Name of program to use for the encrypted connection. The program
121 must understand ssh(1) options.
122
123 -v Verbose mode. Causes scp and ssh(1) to print debugging messages
124 about their progress. This is helpful in debugging connection,
125 authentication, and configuration problems.
126
127DIAGNOSTICS
128 scp exits with 0 on success or >0 if an error occurred.
129
130SEE ALSO
131 rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1),
132 ssh_config(5), sshd(8)
133
134HISTORY
135 scp is based on the rcp(1) program in BSD source code from the Regents of
136 the University of California.
137
138AUTHORS
139 Timo Rinne <tri@iki.fi>
140 Tatu Ylonen <ylo@cs.hut.fi>
141
142OpenBSD 3.6 September 25, 1999 3