diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-08 22:06:03 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-08 22:06:03 +1100 |
commit | 81b6e787a0e7f2cdef45f17f9237f02eb372bf57 (patch) | |
tree | f2721fa710d5f320f1b5a84775f44a30e2e99293 | |
parent | c653b89b5af165fd7560a3dbdead96415e7a8633 (diff) |
- markus@cvs.openbsd.org 2002/02/06 14:22:42
[sftp.1]
sort options; ok mpech@, stevesk@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sftp.1 | 60 |
2 files changed, 34 insertions, 31 deletions
@@ -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 | ||
17 | 20020205 | 20 | 20020205 |
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 $ |
@@ -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 |
66 | The options are as follows: | 66 | The options are as follows: |
67 | .Bl -tag -width Ds | 67 | .Bl -tag -width Ds |
68 | .It Fl 1 | ||
69 | Specify the use of protocol version 1. | ||
70 | .It Fl B Ar buffer_size | ||
71 | Specify the size of the buffer that | ||
72 | .Nm | ||
73 | uses when transferring files. Larger buffers require fewer round trips at | ||
74 | the cost of higher memory consumption. The default is 32768 bytes. | ||
75 | .It Fl P Ar sftp_server path | ||
76 | Connect directly to a local | ||
77 | .Nm sftp-server | ||
78 | (rather than via | ||
79 | .Nm ssh ) | ||
80 | This option may be useful in debugging the client and server. | ||
81 | .It Fl b Ar batchfile | 68 | .It Fl b Ar batchfile |
82 | Batch mode reads a series of commands from an input | 69 | Batch 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 |
92 | and | 79 | and |
93 | .Ic lmkdir . | 80 | .Ic lmkdir . |
94 | .It Fl C | ||
95 | Enables compression (via ssh's | ||
96 | .Fl C | ||
97 | flag). | ||
98 | .It Fl F Ar ssh_config | ||
99 | Specifies an alternative | ||
100 | per-user configuration file for | ||
101 | .Nm ssh . | ||
102 | This option is directly passed to | ||
103 | .Xr ssh 1 . | ||
104 | .It Fl o Ar ssh_option | 81 | .It Fl o Ar ssh_option |
105 | Can be used to pass options to | 82 | Can 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 | |||
118 | protocol version 1, or when the remote | 95 | protocol version 1, or when the remote |
119 | .Nm sshd | 96 | .Nm sshd |
120 | does not have an sftp subsystem configured. | 97 | does not have an sftp subsystem configured. |
98 | .It Fl v | ||
99 | Raise logging level. This option is also passed to ssh. | ||
100 | .It Fl B Ar buffer_size | ||
101 | Specify the size of the buffer that | ||
102 | .Nm | ||
103 | uses when transferring files. Larger buffers require fewer round trips at | ||
104 | the cost of higher memory consumption. The default is 32768 bytes. | ||
105 | .It Fl C | ||
106 | Enables compression (via ssh's | ||
107 | .Fl C | ||
108 | flag). | ||
109 | .It Fl F Ar ssh_config | ||
110 | Specifies an alternative | ||
111 | per-user configuration file for | ||
112 | .Nm ssh . | ||
113 | This option is directly passed to | ||
114 | .Xr ssh 1 . | ||
115 | .It Fl P Ar sftp_server path | ||
116 | Connect directly to a local | ||
117 | .Nm sftp-server | ||
118 | (rather than via | ||
119 | .Nm ssh ) | ||
120 | This option may be useful in debugging the client and server. | ||
121 | .It Fl S Ar program | 121 | .It Fl S Ar program |
122 | Name of the | 122 | Name of the |
123 | .Ar program | 123 | .Ar program |
@@ -125,8 +125,8 @@ to use for the encrypted connection. | |||
125 | The program must understand | 125 | The program must understand |
126 | .Xr ssh 1 | 126 | .Xr ssh 1 |
127 | options. | 127 | options. |
128 | .It Fl v | 128 | .It Fl 1 |
129 | Raise logging level. This option is also passed to ssh. | 129 | Specify the use of protocol version 1. |
130 | .El | 130 | .El |
131 | .Sh INTERACTIVE COMMANDS | 131 | .Sh INTERACTIVE COMMANDS |
132 | Once in interactive mode, | 132 | Once in interactive mode, |