summaryrefslogtreecommitdiff
path: root/scp.1
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-03-26 13:04:51 +1000
committerDamien Miller <djm@mindrot.org>2000-03-26 13:04:51 +1000
commit450a7a1ff40fe7c2d84c93b83cf2df53445d807d (patch)
treedb6d08bdea65edd34ba2e323a31e2b1ca5e5fbd4 /scp.1
parent2c9279fa667827384fceb243f890cba1dbe480de (diff)
- OpenBSD CVS update
- [auth-krb4.c] -Wall - [auth-rh-rsa.c auth-rsa.c hostfile.c hostfile.h key.c key.h match.c] [match.h ssh.c ssh.h sshconnect.c sshd.c] initial support for DSA keys. ok deraadt@, niels@ - [cipher.c cipher.h] remove unused cipher_attack_detected code - [scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8] Fix some formatting problems I missed before. - [ssh.1 sshd.8] fix spelling errors, From: FreeBSD - [ssh.c] switch to raw mode only if he _get_ a pty (not if we _want_ a pty).
Diffstat (limited to 'scp.1')
-rw-r--r--scp.129
1 files changed, 17 insertions, 12 deletions
diff --git a/scp.1 b/scp.1
index b9f686155..5604cb80b 100644
--- a/scp.1
+++ b/scp.1
@@ -9,7 +9,7 @@
9.\" 9.\"
10.\" Created: Sun May 7 00:14:37 1995 ylo 10.\" Created: Sun May 7 00:14:37 1995 ylo
11.\" 11.\"
12.\" $Id: scp.1,v 1.5 2000/01/20 12:13:36 damien Exp $ 12.\" $Id: scp.1,v 1.6 2000/03/26 03:04:53 damien Exp $
13.\" 13.\"
14.Dd September 25, 1999 14.Dd September 25, 1999
15.Dt SCP 1 15.Dt SCP 1
@@ -38,7 +38,8 @@
38.Sm on 38.Sm on
39.Sh DESCRIPTION 39.Sh DESCRIPTION
40.Nm 40.Nm
41copies files between hosts on a network. It uses 41copies files between hosts on a network.
42It uses
42.Xr ssh 1 43.Xr ssh 1
43for data transfer, and uses the same authentication and provides the 44for data transfer, and uses the same authentication and provides the
44same security as 45same security as
@@ -50,18 +51,19 @@ will ask for passwords or passphrases if they are needed for
50authentication. 51authentication.
51.Pp 52.Pp
52Any file name may contain a host and user specification to indicate 53Any 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 54that the file is to be copied to/from that host.
54remote hosts are permitted. 55Copies between two remote hosts are permitted.
55.Pp 56.Pp
56The options are as follows: 57The options are as follows:
57.Bl -tag -width Ds 58.Bl -tag -width Ds
58.It Fl c Ar cipher 59.It Fl c Ar cipher
59Selects the cipher to use for encrypting the data transfer. This 60Selects the cipher to use for encrypting the data transfer.
60option is directly passed to 61This option is directly passed to
61.Xr ssh 1 . 62.Xr ssh 1 .
62.It Fl i Ar identity_file 63.It Fl i Ar identity_file
63Selects the file from which the identity (private key) for RSA 64Selects the file from which the identity (private key) for RSA
64authentication is read. This option is directly passed to 65authentication is read.
66This option is directly passed to
65.Xr ssh 1 . 67.Xr ssh 1 .
66.It Fl p 68.It Fl p
67Preserves modification times, access times, and modes from the 69Preserves modification times, access times, and modes from the
@@ -69,25 +71,28 @@ original file.
69.It Fl r 71.It Fl r
70Recursively copy entire directories. 72Recursively copy entire directories.
71.It Fl v 73.It Fl v
72Verbose mode. Causes 74Verbose mode.
75Causes
73.Nm 76.Nm
74and 77and
75.Xr ssh 1 78.Xr ssh 1
76to print debugging messages about their progress. This is helpful in 79to print debugging messages about their progress.
80This is helpful in
77debugging connection, authentication, and configuration problems. 81debugging connection, authentication, and configuration problems.
78.It Fl B 82.It Fl B
79Selects batch mode (prevents asking for passwords or passphrases). 83Selects batch mode (prevents asking for passwords or passphrases).
80.It Fl q 84.It Fl q
81Disables the progress meter. 85Disables the progress meter.
82.It Fl C 86.It Fl C
83Compression enable. Passes the 87Compression enable.
88Passes the
84.Fl C 89.Fl C
85flag to 90flag to
86.Xr ssh 1 91.Xr ssh 1
87to enable compression. 92to enable compression.
88.It Fl P Ar port 93.It Fl P Ar port
89Specifies the port to connect to on the remote host. Note that this 94Specifies the port to connect to on the remote host.
90option is written with a capital 95Note that this option is written with a capital
91.Sq P , 96.Sq P ,
92because 97because
93.Fl p 98.Fl p