summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-08 22:06:03 +1100
committerDamien Miller <djm@mindrot.org>2002-02-08 22:06:03 +1100
commit81b6e787a0e7f2cdef45f17f9237f02eb372bf57 (patch)
treef2721fa710d5f320f1b5a84775f44a30e2e99293
parentc653b89b5af165fd7560a3dbdead96415e7a8633 (diff)
- markus@cvs.openbsd.org 2002/02/06 14:22:42
[sftp.1] sort options; ok mpech@, stevesk@
-rw-r--r--ChangeLog5
-rw-r--r--sftp.160
2 files changed, 34 insertions, 31 deletions
diff --git a/ChangeLog b/ChangeLog
index dbe512057..116be9687 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
13 - markus@cvs.openbsd.org 2002/02/05 14:32:55 13 - markus@cvs.openbsd.org 2002/02/05 14:32:55
14 [channels.c channels.h ssh.c] 14 [channels.c channels.h ssh.c]
15 merge channel_request() into channel_request_start() 15 merge channel_request() into channel_request_start()
16 - markus@cvs.openbsd.org 2002/02/06 14:22:42
17 [sftp.1]
18 sort options; ok mpech@, stevesk@
16 19
1720020205 2020020205
18 - (djm) Cleanup after sync: 21 - (djm) Cleanup after sync:
@@ -7519,4 +7522,4 @@
7519 - Wrote replacements for strlcpy and mkdtemp 7522 - Wrote replacements for strlcpy and mkdtemp
7520 - Released 1.0pre1 7523 - Released 1.0pre1
7521 7524
7522$Id: ChangeLog,v 1.1831 2002/02/08 11:04:26 djm Exp $ 7525$Id: ChangeLog,v 1.1832 2002/02/08 11:06:03 djm Exp $
diff --git a/sftp.1 b/sftp.1
index 49d4af574..059b46d1f 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.28 2002/02/05 00:00:46 djm Exp $ 1.\" $OpenBSD: sftp.1,v 1.29 2002/02/06 14:22:42 markus Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -30,13 +30,13 @@
30.Nd Secure file transfer program 30.Nd Secure file transfer program
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp 32.Nm sftp
33.Op Fl 1Cv 33.Op Fl vC1
34.Op Fl B Ar buffer_size
35.Op Fl b Ar batchfile 34.Op Fl b Ar batchfile
36.Op Fl F Ar ssh_config
37.Op Fl o Ar ssh_option 35.Op Fl o Ar ssh_option
38.Op Fl P Ar sftp_server path
39.Op Fl s Ar subsystem | sftp_server 36.Op Fl s Ar subsystem | sftp_server
37.Op Fl B Ar buffer_size
38.Op Fl F Ar ssh_config
39.Op Fl P Ar sftp_server path
40.Op Fl S Ar program 40.Op Fl S Ar program
41.Ar host 41.Ar host
42.Nm sftp 42.Nm sftp
@@ -65,19 +65,6 @@ The last usage format allows the sftp client to start in a remote directory.
65.Pp 65.Pp
66The options are as follows: 66The options are as follows:
67.Bl -tag -width Ds 67.Bl -tag -width Ds
68.It Fl 1
69Specify the use of protocol version 1.
70.It Fl B Ar buffer_size
71Specify the size of the buffer that
72.Nm
73uses when transferring files. Larger buffers require fewer round trips at
74the cost of higher memory consumption. The default is 32768 bytes.
75.It Fl P Ar sftp_server path
76Connect directly to a local
77.Nm sftp-server
78(rather than via
79.Nm ssh )
80This option may be useful in debugging the client and server.
81.It Fl b Ar batchfile 68.It Fl b Ar batchfile
82Batch mode reads a series of commands from an input 69Batch mode reads a series of commands from an input
83.Ar batchfile 70.Ar batchfile
@@ -91,16 +78,6 @@ commands fail:
91.Ic get , put , rename , ln , rm , mkdir , chdir , lchdir 78.Ic get , put , rename , ln , rm , mkdir , chdir , lchdir
92and 79and
93.Ic lmkdir . 80.Ic lmkdir .
94.It Fl C
95Enables compression (via ssh's
96.Fl C
97flag).
98.It Fl F Ar ssh_config
99Specifies an alternative
100per-user configuration file for
101.Nm ssh .
102This option is directly passed to
103.Xr ssh 1 .
104.It Fl o Ar ssh_option 81.It Fl o Ar ssh_option
105Can be used to pass options to 82Can be used to pass options to
106.Nm ssh 83.Nm ssh
@@ -118,6 +95,29 @@ on the remote host. A path is useful for using sftp over
118protocol version 1, or when the remote 95protocol version 1, or when the remote
119.Nm sshd 96.Nm sshd
120does not have an sftp subsystem configured. 97does not have an sftp subsystem configured.
98.It Fl v
99Raise logging level. This option is also passed to ssh.
100.It Fl B Ar buffer_size
101Specify the size of the buffer that
102.Nm
103uses when transferring files. Larger buffers require fewer round trips at
104the cost of higher memory consumption. The default is 32768 bytes.
105.It Fl C
106Enables compression (via ssh's
107.Fl C
108flag).
109.It Fl F Ar ssh_config
110Specifies an alternative
111per-user configuration file for
112.Nm ssh .
113This option is directly passed to
114.Xr ssh 1 .
115.It Fl P Ar sftp_server path
116Connect directly to a local
117.Nm sftp-server
118(rather than via
119.Nm ssh )
120This option may be useful in debugging the client and server.
121.It Fl S Ar program 121.It Fl S Ar program
122Name of the 122Name of the
123.Ar program 123.Ar program
@@ -125,8 +125,8 @@ to use for the encrypted connection.
125The program must understand 125The program must understand
126.Xr ssh 1 126.Xr ssh 1
127options. 127options.
128.It Fl v 128.It Fl 1
129Raise logging level. This option is also passed to ssh. 129Specify the use of protocol version 1.
130.El 130.El
131.Sh INTERACTIVE COMMANDS 131.Sh INTERACTIVE COMMANDS
132Once in interactive mode, 132Once in interactive mode,