Deleted Added
full compact
scp.1 (57429) scp.1 (58582)
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.\"
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,v 1.5 2000/01/04 16:57:16 markus Exp $
12.\" $Id: scp.1,v 1.6 2000/03/23 21:10:09 aaron 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

--- 12 unchanged lines hidden (view full) ---

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
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

--- 12 unchanged lines hidden (view full) ---

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
41copies files between hosts on a network.
42It 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
43.Xr ssh 1
44for data transfer, and uses the same authentication and provides the
45same security as
46.Xr ssh 1 .
47Unlike
48.Xr rcp 1 ,
49.Nm
50will ask for passwords or passphrases if they are needed for
51authentication.
52.Pp
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
54remote hosts are permitted.
54that the file is to be copied to/from that host.
55Copies between two remote hosts are permitted.
55.Pp
56The options are as follows:
57.Bl -tag -width Ds
58.It Fl c Ar cipher
56.Pp
57The options are as follows:
58.Bl -tag -width Ds
59.It Fl c Ar cipher
59Selects the cipher to use for encrypting the data transfer. This
60option is directly passed to
60Selects the cipher to use for encrypting the data transfer.
61This option 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
62.Xr ssh 1 .
63.It Fl i Ar identity_file
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 .
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
67.Xr ssh 1 .
68.It Fl p
69Preserves modification times, access times, and modes from the
70original file.
71.It Fl r
72Recursively copy entire directories.
73.It Fl v
72Verbose mode. Causes
74Verbose mode.
75Causes
73.Nm
74and
75.Xr ssh 1
76.Nm
77and
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.
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
81debugging connection, authentication, and configuration problems.
82.It Fl B
83Selects batch mode (prevents asking for passwords or passphrases).
84.It Fl q
85Disables the progress meter.
86.It Fl C
83Compression enable. Passes the
87Compression enable.
88Passes the
84.Fl C
85flag to
86.Xr ssh 1
87to enable compression.
88.It Fl P Ar port
89.Fl C
90flag to
91.Xr ssh 1
92to enable compression.
93.It Fl P Ar port
89Specifies the port to connect to on the remote host. Note that this
90option is written with a capital
94Specifies the port to connect to on the remote host.
95Note that this option 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.It Fl 4
97Forces
98.Nm

--- 20 unchanged lines hidden ---
96.Sq P ,
97because
98.Fl p
99is already reserved for preserving the times and modes of the file in
100.Xr rcp 1 .
101.It Fl 4
102Forces
103.Nm

--- 20 unchanged lines hidden ---