summaryrefslogtreecommitdiff
path: root/scp.0
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 18:52:37 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 18:52:37 +0000
commit854156dd39acbde9b4a47ec0fc54a042ea7358e0 (patch)
tree96755f8590acc2146f4b4ef5b5cdba600e5d9353 /scp.0
parentfad82e8999e790899083f9e22a1841148d746df6 (diff)
parent053db7da5ce09acdf742789d9d1a05e81d4861d0 (diff)
Import OpenSSH 3.6.1p2.
Diffstat (limited to 'scp.0')
-rw-r--r--scp.093
1 files changed, 93 insertions, 0 deletions
diff --git a/scp.0 b/scp.0
new file mode 100644
index 000000000..7a653c687
--- /dev/null
+++ b/scp.0
@@ -0,0 +1,93 @@
1SCP(1) BSD General Commands Manual SCP(1)
2
3NAME
4 scp - secure copy (remote file copy program)
5
6SYNOPSIS
7 scp [-pqrvBC1246] [-F ssh_config] [-S program] [-P port] [-c cipher]
8 [-i identity_file] [-l limit] [-o ssh_option] [[user@]host1:]file1
9 [...] [[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 -c cipher
24 Selects the cipher to use for encrypting the data transfer. This
25 option is directly passed to ssh(1).
26
27 -i identity_file
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 -l limit
33 Limits the used bandwidth, specified in Kbit/s.
34
35 -p Preserves modification times, access times, and modes from the
36 original file.
37
38 -r Recursively copy entire directories.
39
40 -v Verbose mode. Causes scp and ssh(1) to print debugging messages
41 about their progress. This is helpful in debugging connection,
42 authentication, and configuration problems.
43
44 -B Selects batch mode (prevents asking for passwords or
45 passphrases).
46
47 -q Disables the progress meter.
48
49 -C Compression enable. Passes the -C flag to ssh(1) to enable com-
50 pression.
51
52 -F ssh_config
53 Specifies an alternative per-user configuration file for ssh.
54 This option is directly passed to ssh(1).
55
56 -P port
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 -p is already
59 reserved for preserving the times and modes of the file in
60 rcp(1).
61
62 -S program
63 Name of program to use for the encrypted connection. The program
64 must understand ssh(1) options.
65
66 -o ssh_option
67 Can be used to pass options to ssh in the format used in
68 ssh_config(5). This is useful for specifying options for which
69 there is no separate scp command-line flag.
70
71 -1 Forces scp to use protocol 1.
72
73 -2 Forces scp to use protocol 2.
74
75 -4 Forces scp to use IPv4 addresses only.
76
77 -6 Forces scp to use IPv6 addresses only.
78
79DIAGNOSTICS
80 scp exits with 0 on success or >0 if an error occurred.
81
82AUTHORS
83 Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
84
85HISTORY
86 scp is based on the rcp(1) program in BSD source code from the Regents of
87 the University of California.
88
89SEE ALSO
90 rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1),
91 ssh_config(5), sshd(8)
92
93BSD September 25, 1999 BSD