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.33 2004/03/05 10:53:58 markus 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
130 .It ConnectionTimeout
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
153 .It ServerAliveInterval
154 .It ServerAliveCountMax
156 .It StrictHostKeyChecking
158 .It UsePrivilegedPort
160 .It UserKnownHostsFile
164 Specifies the port to connect to on the remote host.
165 Note that this option is written with a capital
169 is already reserved for preserving the times and modes of the file in
172 Preserves modification times, access times, and modes from the
175 Disables the progress meter.
177 Recursively copy entire directories.
181 to use for the encrypted connection.
182 The program must understand
191 to print debugging messages about their progress.
193 debugging connection, authentication, and configuration problems.
197 exits with 0 on success or >0 if an error occurred.
211 program in BSD source code from the Regents of the University of
214 .An Timo Rinne Aq tri@iki.fi
215 .An Tatu Ylonen Aq ylo@cs.hut.fi