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.27 2003/03/28 10:11:43 jmc Exp $
14 .Dd September 25, 1999
19 .Nd secure copy (remote file copy program)
24 .Op Fl F Ar ssh_config
28 .Op Fl i Ar identity_file
30 .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:
66 Selects the cipher to use for encrypting the data transfer.
67 This option is directly passed to
69 .It Fl i Ar identity_file
70 Selects the file from which the identity (private key) for RSA
71 authentication is read.
72 This option is directly passed to
75 Limits the used bandwidth, specified in Kbit/s.
77 Preserves modification times, access times, and modes from the
80 Recursively copy entire directories.
87 to print debugging messages about their progress.
89 debugging connection, authentication, and configuration problems.
91 Selects batch mode (prevents asking for passwords or passphrases).
93 Disables the progress meter.
100 to enable compression.
101 .It Fl F Ar ssh_config
102 Specifies an alternative
103 per-user configuration file for
105 This option is directly passed to
108 Specifies the port to connect to on the remote host.
109 Note that this option is written with a capital
113 is already reserved for preserving the times and modes of the file in
118 to use for the encrypted connection.
119 The program must understand
122 .It Fl o Ar ssh_option
123 Can be used to pass options to
125 in the format used in
127 This is useful for specifying options
128 for which there is no separate
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