summaryrefslogtreecommitdiff
path: root/scp.1
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-15 23:25:46 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-15 23:25:46 +0000
commit14c62eb2beb36b2898187b89e6c5058f8942a693 (patch)
tree48505f5ac47e855897396daa729db4f145874fe4 /scp.1
parent59e1249d67cea9e4fe571869750625b93c99a62b (diff)
downloadopenssh-git-14c62eb2beb36b2898187b89e6c5058f8942a693.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