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.37 2004/10/07 10:10:24 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
143 .It KbdInteractiveDevices
146 .It NoHostAuthenticationForLocalhost
147 .It NumberOfPasswordPrompts
148 .It PasswordAuthentication
150 .It PreferredAuthentications
153 .It PubkeyAuthentication
154 .It RhostsRSAAuthentication
155 .It RSAAuthentication
157 .It ServerAliveInterval
158 .It ServerAliveCountMax
160 .It StrictHostKeyChecking
162 .It UsePrivilegedPort
164 .It UserKnownHostsFile
168 Specifies the port to connect to on the remote host.
169 Note that this option is written with a capital
173 is already reserved for preserving the times and modes of the file in
176 Preserves modification times, access times, and modes from the
179 Disables the progress meter.
181 Recursively copy entire directories.
185 to use for the encrypted connection.
186 The program must understand
195 to print debugging messages about their progress.
197 debugging connection, authentication, and configuration problems.
201 exits with 0 on success or >0 if an error occurred.
215 program in BSD source code from the Regents of the University of
218 .An Timo Rinne Aq tri@iki.fi
219 .An Tatu Ylonen Aq ylo@cs.hut.fi