]> andersk Git - openssh.git/blobdiff - scp.1
- stevesk@cvs.openbsd.org 2001/05/19 19:43:57
[openssh.git] / scp.1
diff --git a/scp.1 b/scp.1
index d820766482415b55dad00f6aec0ac6ea75967a65..10e67aa33d1cfb576886017065948d61d3ddb402 100644 (file)
--- a/scp.1
+++ b/scp.1
@@ -9,7 +9,7 @@
 .\"
 .\" Created: Sun May  7 00:14:37 1995 ylo
 .\"
-.\" $Id$
+.\" $OpenBSD: scp.1,v 1.14 2001/02/04 11:11:53 djm Exp $
 .\"
 .Dd September 25, 1999
 .Dt SCP 1
 .Nd secure copy (remote file copy program)
 .Sh SYNOPSIS
 .Nm scp
-.Op Fl pqrvC
+.Op Fl pqrvC46
+.Op Fl S Ar program
 .Op Fl P Ar port
 .Op Fl c Ar cipher
 .Op Fl i Ar identity_file
+.Op Fl o Ar option
 .Sm off
 .Oo
 .Op Ar user@
 .Ar host2 No :
 .Oc Ar file2
 .Sm on
-.Sh DESCRIPTION 
+.Sh DESCRIPTION
 .Nm
-copies files between hosts on a network.  It uses
+copies files between hosts on a network.
+It uses
 .Xr ssh 1
 for data transfer, and uses the same authentication and provides the
 same security as
@@ -50,18 +53,19 @@ will ask for passwords or passphrases if they are needed for
 authentication.
 .Pp
 Any file name may contain a host and user specification to indicate
-that the file is to be copied to/from that host.  Copies between two
-remote hosts are permitted.
+that the file is to be copied to/from that host.
+Copies between two remote hosts are permitted.
 .Pp
 The options are as follows:
 .Bl -tag -width Ds
 .It Fl c Ar cipher
-Selects the cipher to use for encrypting the data transfer.  This
-option is directly passed to
+Selects the cipher to use for encrypting the data transfer.
+This option is directly passed to
 .Xr ssh 1 .
 .It Fl i Ar identity_file
 Selects the file from which the identity (private key) for RSA
-authentication is read.  This option is directly passed to
+authentication is read.
+This option is directly passed to
 .Xr ssh 1 .
 .It Fl p
 Preserves modification times, access times, and modes from the
@@ -69,30 +73,52 @@ original file.
 .It Fl r
 Recursively copy entire directories.
 .It Fl v
-Verbose mode.  Causes
+Verbose mode.
+Causes
 .Nm
-and 
+and
 .Xr ssh 1
-to print debugging messages about their progress.  This is helpful in
+to print debugging messages about their progress.
+This is helpful in
 debugging connection, authentication, and configuration problems.
 .It Fl B
 Selects batch mode (prevents asking for passwords or passphrases).
 .It Fl q
 Disables the progress meter.
 .It Fl C
-Compression enable.  Passes the
+Compression enable.
+Passes the
 .Fl C
 flag to
 .Xr ssh 1
 to enable compression.
 .It Fl P Ar port
-Specifies the port to connect to on the remote host.  Note that this
-option is written with a capital
+Specifies the port to connect to on the remote host.
+Note that this option is written with a capital
 .Sq P ,
 because
 .Fl p
 is already reserved for preserving the times and modes of the file in
 .Xr rcp 1 .
+.It Fl S Ar program
+Name of
+.Ar program
+to use for the encrypted connection.
+The program must understand
+.Xr ssh 1
+options.
+.It Fl o Ar option
+The given option is directly passed to
+.Xr ssh 1 .
+.It Fl 4
+Forces
+.Nm
+to use IPv4 addresses only.
+.It Fl 6
+Forces
+.Nm
+to use IPv6 addresses only.
+.El
 .Sh AUTHORS
 Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi>
 .Sh HISTORY
@@ -103,6 +129,7 @@ program in BSD source code from the Regents of the University of
 California.
 .Sh SEE ALSO
 .Xr rcp 1 ,
+.Xr sftp 1 ,
 .Xr ssh 1 ,
 .Xr ssh-add 1 ,
 .Xr ssh-agent 1 ,
This page took 0.233536 seconds and 4 git commands to generate.