summaryrefslogtreecommitdiff
path: root/scp.1
diff options
context:
space:
mode:
authormouring <mouring>2001-08-15 23:25:46 +0000
committermouring <mouring>2001-08-15 23:25:46 +0000
commit99972f1d7aa7e7c95a23279d5447d279619f196c (patch)
tree5a15374f0fe7adbaaa2a2767b3d6602850af1399 /scp.1
parent2fc7f9a00f4b2a3e8c36e5c1bc47180272d688a4 (diff)
downloadopenssh-99972f1d7aa7e7c95a23279d5447d279619f196c.tar.gz
- stevesk@cvs.openbsd.org 2001/08/14 17:54:29
[scp.1 sftp.1 ssh.1] consistent documentation and example of ``-o ssh_option'' for sftp and scp; document keyword=argument for ssh.
Diffstat (limited to 'scp.1')
-rw-r--r--scp.122
1 files changed, 13 insertions, 9 deletions
diff --git a/scp.1 b/scp.1
index 395ffdf8..10bd85ca 100644
--- a/scp.1
+++ b/scp.1
@@ -9,7 +9,7 @@
.\"
.\" Created: Sun May 7 00:14:37 1995 ylo
.\"
-.\" $OpenBSD: scp.1,v 1.16 2001/08/08 07:16:58 deraadt Exp $
+.\" $OpenBSD: scp.1,v 1.17 2001/08/14 17:54:29 stevesk Exp $
.\"
.Dd September 25, 1999
.Dt SCP 1
@@ -24,7 +24,7 @@
.Op Fl P Ar port
.Op Fl c Ar cipher
.Op Fl i Ar identity_file
-.Op Fl o Ar option
+.Op Fl o Ar ssh_option
.Sm off
.Oo
.Op Ar user@
@@ -107,13 +107,17 @@ to use for the encrypted connection.
The program must understand
.Xr ssh 1
options.
-.It Fl o Ar option
-Can be used to give options in the format used in the config file.
-These options are passed directly to
-.Xr ssh 1 ,
-for instance
-.Fl o "Protocol=1"
-would force protocol 1.
+.It Fl o Ar ssh_option
+Can be used to pass options to
+.Nm ssh
+in the format used in the
+.Xr ssh 1
+configuration file. This is useful for specifying options
+for which there is no separate
+.Nm scp
+command-line flag. For example, to force the use of protocol
+version 1 you may specify
+.Ic scp -oProtocol=1 .
.It Fl 4
Forces
.Nm