6 .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
8 .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
9 .\" All rights reserved
11 .\" Created: Sun May 7 00:14:37 1995 ylo
13 .\" $OpenBSD: scp.1,v 1.46 2008/07/12 05:33:41 djm Exp $
20 .Nd secure copy (remote file copy program)
26 .Op Fl F Ar ssh_config
27 .Op Fl i Ar identity_file
29 .Op Fl o Ar ssh_option
48 copies files between hosts on a network.
51 for data transfer, and uses the same authentication and provides the
57 will ask for passwords or passphrases if they are needed for
60 File names may contain a user and host specification to indicate
61 that the file is to be copied to/from that host.
62 Local file names can be made explicit using absolute or relative pathnames
65 treating file names containing
68 Copies between two remote hosts are also permitted.
70 The options are as follows:
83 to use IPv4 addresses only.
87 to use IPv6 addresses only.
89 Selects batch mode (prevents asking for passwords or passphrases).
96 to enable compression.
98 Selects the cipher to use for encrypting the data transfer.
99 This option is directly passed to
101 .It Fl F Ar ssh_config
102 Specifies an alternative
103 per-user configuration file for
105 This option is directly passed to
107 .It Fl i Ar identity_file
108 Selects the file from which the identity (private key) for public key
109 authentication is read.
110 This option is directly passed to
113 Limits the used bandwidth, specified in Kbit/s.
114 .It Fl o Ar ssh_option
115 Can be used to pass options to
117 in the format used in
119 This is useful for specifying options
120 for which there is no separate
123 For full details of the options listed below, and their possible values, see
126 .Bl -tag -width Ds -offset indent -compact
130 .It ChallengeResponseAuthentication
136 .It ConnectionAttempts
140 .It GlobalKnownHostsFile
141 .It GSSAPIAuthentication
142 .It GSSAPIDelegateCredentials
145 .It HostbasedAuthentication
146 .It HostKeyAlgorithms
151 .It KbdInteractiveDevices
154 .It NoHostAuthenticationForLocalhost
155 .It NumberOfPasswordPrompts
156 .It PasswordAuthentication
158 .It PreferredAuthentications
161 .It PubkeyAuthentication
163 .It RhostsRSAAuthentication
164 .It RSAAuthentication
166 .It ServerAliveInterval
167 .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