summaryrefslogtreecommitdiff
path: root/scp.1.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-27 09:23:58 +1100
committerDamien Miller <djm@mindrot.org>1999-12-27 09:23:58 +1100
commitc0d739039807abaa7985112370b4c5f4e85e02d7 (patch)
tree70d1579e28003ac341dfa9330d6e1d63e8108bc2 /scp.1.in
parentaae1093640162022abba350d94c3051e6d730425 (diff)
- Automatically correct paths in manpages and configuration files. Patch
and script from Andre Lucas <andre.lucas@dial.pipex.com> - Removed credits from README to CREDITS file, updated.
Diffstat (limited to 'scp.1.in')
-rw-r--r--scp.1.in110
1 files changed, 110 insertions, 0 deletions
diff --git a/scp.1.in b/scp.1.in
new file mode 100644
index 000000000..641c8f4f2
--- /dev/null
+++ b/scp.1.in
@@ -0,0 +1,110 @@
1.\" -*- nroff -*-
2.\"
3.\" scp.1
4.\"
5.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
6.\"
7.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8.\" All rights reserved
9.\"
10.\" Created: Sun May 7 00:14:37 1995 ylo
11.\"
12.\" $Id: scp.1.in,v 1.1 1999/12/26 22:23:58 damien Exp $
13.\"
14.Dd September 25, 1999
15.Dt SCP 1
16.Os
17.Sh NAME
18.Nm scp
19.Nd secure copy (remote file copy program)
20.Sh SYNOPSIS
21.Nm scp
22.Op Fl pqrvC
23.Op Fl P Ar port
24.Op Fl c Ar cipher
25.Op Fl i Ar identity_file
26.Sm off
27.Oo
28.Op Ar user@
29.Ar host1 No :
30.Oc Ns Ar file1
31.Sm on
32.Op Ar ...
33.Sm off
34.Oo
35.Op Ar user@
36.Ar host2 No :
37.Oc Ar file2
38.Sm on
39.Sh DESCRIPTION
40.Nm
41copies files between hosts on a network. It uses
42.Xr ssh 1
43for data transfer, and uses the same authentication and provides the
44same security as
45.Xr ssh 1 .
46Unlike
47.Xr rcp 1 ,
48.Nm
49will ask for passwords or passphrases if they are needed for
50authentication.
51.Pp
52Any file name may contain a host and user specification to indicate
53that the file is to be copied to/from that host. Copies between two
54remote hosts are permitted.
55.Pp
56The options are as follows:
57.Bl -tag -width Ds
58.It Fl c Ar cipher
59Selects the cipher to use for encrypting the data transfer. This
60option is directly passed to
61.Xr ssh 1 .
62.It Fl i Ar identity_file
63Selects the file from which the identity (private key) for RSA
64authentication is read. This option is directly passed to
65.Xr ssh 1 .
66.It Fl p
67Preserves modification times, access times, and modes from the
68original file.
69.It Fl r
70Recursively copy entire directories.
71.It Fl v
72Verbose mode. Causes
73.Nm
74and
75.Xr ssh 1
76to print debugging messages about their progress. This is helpful in
77debugging connection, authentication, and configuration problems.
78.It Fl B
79Selects batch mode (prevents asking for passwords or passphrases).
80.It Fl q
81Disables the progress meter.
82.It Fl C
83Compression enable. Passes the
84.Fl C
85flag to
86.Xr ssh 1
87to enable compression.
88.It Fl P Ar port
89Specifies the port to connect to on the remote host. Note that this
90option is written with a capital
91.Sq P ,
92because
93.Fl p
94is already reserved for preserving the times and modes of the file in
95.Xr rcp 1 .
96.Sh AUTHORS
97Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
98.Sh HISTORY
99.Nm
100is based on the
101.Xr rcp 1
102program in BSD source code from the Regents of the University of
103California.
104.Sh SEE ALSO
105.Xr rcp 1 ,
106.Xr ssh 1 ,
107.Xr ssh-add 1 ,
108.Xr ssh-agent 1 ,
109.Xr ssh-keygen 1 ,
110.Xr sshd 8