4 .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
6 .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 .\" All rights reserved
9 .\" Created: Sun May 7 00:14:37 1995 ylo
11 .\" $OpenBSD: scp.1,v 1.54 2010/11/18 15:01:00 jmc Exp $
13 .Dd $Mdocdate: November 18 2010 $
18 .Nd secure copy (remote file copy program)
24 .Op Fl F Ar ssh_config
25 .Op Fl i Ar identity_file
27 .Op Fl o Ar ssh_option
46 copies files between hosts on a network.
49 for data transfer, and uses the same authentication and provides the
55 will ask for passwords or passphrases if they are needed for
58 File names may contain a user and host specification to indicate
59 that the file is to be copied to/from that host.
60 Local file names can be made explicit using absolute or relative pathnames
63 treating file names containing
66 Copies between two remote hosts are also permitted.
68 The options are as follows:
81 to use IPv4 addresses only.
85 to use IPv6 addresses only.
87 Selects batch mode (prevents asking for passwords or passphrases).
94 to enable compression.
96 Selects the cipher to use for encrypting the data transfer.
97 This option is directly passed to
99 .It Fl F Ar ssh_config
100 Specifies an alternative
101 per-user configuration file for
103 This option is directly passed to
105 .It Fl i Ar identity_file
106 Selects the file from which the identity (private key) for public key
107 authentication is read.
108 This option is directly passed to
111 Limits the used bandwidth, specified in Kbit/s.
112 .It Fl o Ar ssh_option
113 Can be used to pass options to
115 in the format used in
117 This is useful for specifying options
118 for which there is no separate
121 For full details of the options listed below, and their possible values, see
124 .Bl -tag -width Ds -offset indent -compact
128 .It ChallengeResponseAuthentication
134 .It ConnectionAttempts
138 .It GlobalKnownHostsFile
139 .It GSSAPIAuthentication
140 .It GSSAPIDelegateCredentials
143 .It HostbasedAuthentication
144 .It HostKeyAlgorithms
150 .It KbdInteractiveDevices
154 .It NoHostAuthenticationForLocalhost
155 .It NumberOfPasswordPrompts
156 .It PasswordAuthentication
159 .It PreferredAuthentications
162 .It PubkeyAuthentication
164 .It RhostsRSAAuthentication
165 .It RSAAuthentication
167 .It ServerAliveInterval
168 .It ServerAliveCountMax
169 .It StrictHostKeyChecking
171 .It UsePrivilegedPort
173 .It UserKnownHostsFile
177 Specifies the port to connect to on the remote host.
178 Note that this option is written with a capital
182 is already reserved for preserving the times and modes of the file in
185 Preserves modification times, access times, and modes from the
188 Quiet mode: disables the progress meter as well as warning and diagnostic
192 Recursively copy entire directories.
195 follows symbolic links encountered in the tree traversal.
199 to use for the encrypted connection.
200 The program must understand
209 to print debugging messages about their progress.
211 debugging connection, authentication, and configuration problems.
228 program in BSD source code from the Regents of the University of
231 .An Timo Rinne Aq tri@iki.fi
232 .An Tatu Ylonen Aq ylo@cs.hut.fi