summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp.1
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2002-02-04 21:53:13 +0000
committerDamien Miller <djm@cvs.openbsd.org>2002-02-04 21:53:13 +0000
commit18a3c9fe8f08174c48576e3d40693d3e1e4c7c19 (patch)
tree8e40820f37cefd896a7a77ba39e381d7ddd2db16 /usr.bin/ssh/sftp.1
parent230d696eaace0878d18b9d92e42e006de290c177 (diff)
Add "-P" option to directly connect to a local sftp-server. Should be useful
for regression testing; ok markus@
Diffstat (limited to 'usr.bin/ssh/sftp.1')
-rw-r--r--usr.bin/ssh/sftp.19
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/ssh/sftp.1 b/usr.bin/ssh/sftp.1
index 0cc4e2b63b2..2a25603208d 100644
--- a/usr.bin/ssh/sftp.1
+++ b/usr.bin/ssh/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.26 2001/09/17 20:38:09 stevesk Exp $
+.\" $OpenBSD: sftp.1,v 1.27 2002/02/04 21:53:11 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -34,6 +34,7 @@
.Op Fl b Ar batchfile
.Op Fl F Ar ssh_config
.Op Fl o Ar ssh_option
+.Op Fl P Ar sftp_server path
.Op Fl s Ar subsystem | sftp_server
.Op Fl S Ar program
.Ar host
@@ -65,6 +66,12 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl 1
Specify the use of protocol version 1.
+.It Fl P Ar sftp_server path
+Connect directly to a local
+.Nm sftp-server
+(rather than via
+.Nm ssh )
+This option may be useful in debugging the client and server.
.It Fl b Ar batchfile
Batch mode reads a series of commands from an input
.Ar batchfile