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.36 2004/06/13 15:03:02 djm 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
133 .It GlobalKnownHostsFile
134 .It GSSAPIAuthentication
135 .It GSSAPIDelegateCredentials
137 .It HostbasedAuthentication
138 .It HostKeyAlgorithms
145 .It NoHostAuthenticationForLocalhost
146 .It NumberOfPasswordPrompts
147 .It PasswordAuthentication
149 .It PreferredAuthentications
152 .It PubkeyAuthentication
153 .It RhostsRSAAuthentication
154 .It RSAAuthentication
156 .It ServerAliveInterval
157 .It ServerAliveCountMax
159 .It StrictHostKeyChecking
161 .It UsePrivilegedPort
163 .It UserKnownHostsFile
167 Specifies the port to connect to on the remote host.
168 Note that this option is written with a capital
172 is already reserved for preserving the times and modes of the file in
175 Preserves modification times, access times, and modes from the
178 Disables the progress meter.
180 Recursively copy entire directories.
184 to use for the encrypted connection.
185 The program must understand
194 to print debugging messages about their progress.
196 debugging connection, authentication, and configuration problems.
200 exits with 0 on success or >0 if an error occurred.
214 program in BSD source code from the Regents of the University of
217 .An Timo Rinne Aq tri@iki.fi
218 .An Tatu Ylonen Aq ylo@cs.hut.fi