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.25 2003/01/28 16:11:52 markus Exp $
14 .Dd September 25, 1999
19 .Nd secure copy (remote file copy program)
23 .Op Fl F Ar ssh_config
27 .Op Fl i Ar identity_file
29 .Op Fl o Ar ssh_option
45 copies files between hosts on a network.
48 for data transfer, and uses the same authentication and provides the
54 will ask for passwords or passphrases if they are needed for
57 Any file name may contain a host and user specification to indicate
58 that the file is to be copied to/from that host.
59 Copies between two remote hosts are permitted.
61 The options are as follows:
64 Selects the cipher to use for encrypting the data transfer.
65 This option is directly passed to
67 .It Fl i Ar identity_file
68 Selects the file from which the identity (private key) for RSA
69 authentication is read.
70 This option is directly passed to
73 Limits the used bandwidth, specified in Kbit/s.
75 Preserves modification times, access times, and modes from the
78 Recursively copy entire directories.
85 to print debugging messages about their progress.
87 debugging connection, authentication, and configuration problems.
89 Selects batch mode (prevents asking for passwords or passphrases).
91 Disables the progress meter.
98 to enable compression.
99 .It Fl F Ar ssh_config
100 Specifies an alternative
101 per-user configuration file for
103 This option is directly passed to
106 Specifies the port to connect to on the remote host.
107 Note that this option is written with a capital
111 is already reserved for preserving the times and modes of the file in
116 to use for the encrypted connection.
117 The program must understand
120 .It Fl o Ar ssh_option
121 Can be used to pass options to
123 in the format used in
125 This is useful for specifying options
126 for which there is no separate
128 command-line flag. For example, forcing the use of protocol
129 version 1 can be specified using
130 .Ic scp -oProtocol=1 .
142 to use IPv4 addresses only.
146 to use IPv6 addresses only.
150 exits with 0 on success or >0 if an error occurred.
152 Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
157 program in BSD source code from the Regents of the University of