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.40 2006/07/18 07:56:28 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
133 .It GlobalKnownHostsFile
134 .It GSSAPIAuthentication
135 .It GSSAPIDelegateCredentials
138 .It HostbasedAuthentication
139 .It HostKeyAlgorithms
144 .It KbdInteractiveDevices
147 .It NoHostAuthenticationForLocalhost
148 .It NumberOfPasswordPrompts
149 .It PasswordAuthentication
151 .It PreferredAuthentications
154 .It PubkeyAuthentication
156 .It RhostsRSAAuthentication
157 .It RSAAuthentication
159 .It ServerAliveInterval
160 .It ServerAliveCountMax
162 .It StrictHostKeyChecking
164 .It UsePrivilegedPort
166 .It UserKnownHostsFile
170 Specifies the port to connect to on the remote host.
171 Note that this option is written with a capital
175 is already reserved for preserving the times and modes of the file in
178 Preserves modification times, access times, and modes from the
181 Disables the progress meter.
183 Recursively copy entire directories.
187 to use for the encrypted connection.
188 The program must understand
197 to print debugging messages about their progress.
199 debugging connection, authentication, and configuration problems.
216 program in BSD source code from the Regents of the University of
219 .An Timo Rinne Aq tri@iki.fi
220 .An Tatu Ylonen Aq ylo@cs.hut.fi