5 .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
7 .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 .\" All rights reserved
10 .\" Created: Sun May 7 00:14:37 1995 ylo
12 .\" $OpenBSD: scp.1,v 1.35 2004/05/04 18:36:07 jmc Exp $
14 .Dd September 25, 1999
19 .Nd secure copy (remote file copy program)
25 .Op Fl F Ar ssh_config
26 .Op Fl i Ar identity_file
28 .Op Fl o Ar ssh_option
47 copies files between hosts on a network.
50 for data transfer, and uses the same authentication and provides the
56 will ask for passwords or passphrases if they are needed for
59 Any file name may contain a host and user specification to indicate
60 that the file is to be copied to/from that host.
61 Copies between two remote hosts are permitted.
63 The options are as follows:
76 to use IPv4 addresses only.
80 to use IPv6 addresses only.
82 Selects batch mode (prevents asking for passwords or passphrases).
89 to enable compression.
91 Selects the cipher to use for encrypting the data transfer.
92 This option is directly passed to
94 .It Fl F Ar ssh_config
95 Specifies an alternative
96 per-user configuration file for
98 This option is directly passed to
100 .It Fl i Ar identity_file
101 Selects the file from which the identity (private key) for RSA
102 authentication is read.
103 This option is directly passed to
106 Limits the used bandwidth, specified in Kbit/s.
107 .It Fl o Ar ssh_option
108 Can be used to pass options to
110 in the format used in
112 This is useful for specifying options
113 for which there is no separate
116 For full details of the options listed below, and their possible values, see
119 .Bl -tag -width Ds -offset indent -compact
123 .It ChallengeResponseAuthentication
129 .It ConnectionAttempts
131 .It GlobalKnownHostsFile
132 .It GSSAPIAuthentication
133 .It GSSAPIDelegateCredentials
135 .It HostbasedAuthentication
136 .It HostKeyAlgorithms
143 .It NoHostAuthenticationForLocalhost
144 .It NumberOfPasswordPrompts
145 .It PasswordAuthentication
147 .It PreferredAuthentications
150 .It PubkeyAuthentication
151 .It RhostsRSAAuthentication
152 .It RSAAuthentication
154 .It ServerAliveInterval
155 .It ServerAliveCountMax
157 .It StrictHostKeyChecking
159 .It UsePrivilegedPort
161 .It UserKnownHostsFile
165 Specifies the port to connect to on the remote host.
166 Note that this option is written with a capital
170 is already reserved for preserving the times and modes of the file in
173 Preserves modification times, access times, and modes from the
176 Disables the progress meter.
178 Recursively copy entire directories.
182 to use for the encrypted connection.
183 The program must understand
192 to print debugging messages about their progress.
194 debugging connection, authentication, and configuration problems.
198 exits with 0 on success or >0 if an error occurred.
212 program in BSD source code from the Regents of the University of
215 .An Timo Rinne Aq tri@iki.fi
216 .An Tatu Ylonen Aq ylo@cs.hut.fi