diff options
author | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
commit | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (patch) | |
tree | f0d13e1687800f36a3c4322b94ac5230ad17bdbf /sftp-server.8 | |
parent | 964476f91b66c475d5b8fa1e8b28d39a97a1b56e (diff) | |
parent | 004a7fb9c6a00b13dc98f56599918a54a3506d10 (diff) |
merge 5.4p1
Diffstat (limited to 'sftp-server.8')
-rw-r--r-- | sftp-server.8 | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/sftp-server.8 b/sftp-server.8 index 372b0770e..bb19c15e1 100644 --- a/sftp-server.8 +++ b/sftp-server.8 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp-server.8,v 1.15 2009/03/26 08:38:39 sobrado Exp $ | 1 | .\" $OpenBSD: sftp-server.8,v 1.19 2010/01/09 03:36:00 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | .\" Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -22,7 +22,7 @@ | |||
22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | .\" | 24 | .\" |
25 | .Dd $Mdocdate: March 26 2009 $ | 25 | .Dd $Mdocdate: January 9 2010 $ |
26 | .Dt SFTP-SERVER 8 | 26 | .Dt SFTP-SERVER 8 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -30,8 +30,10 @@ | |||
30 | .Nd SFTP server subsystem | 30 | .Nd SFTP server subsystem |
31 | .Sh SYNOPSIS | 31 | .Sh SYNOPSIS |
32 | .Nm sftp-server | 32 | .Nm sftp-server |
33 | .Op Fl ehR | ||
33 | .Op Fl f Ar log_facility | 34 | .Op Fl f Ar log_facility |
34 | .Op Fl l Ar log_level | 35 | .Op Fl l Ar log_level |
36 | .Op Fl u Ar umask | ||
35 | .Sh DESCRIPTION | 37 | .Sh DESCRIPTION |
36 | .Nm | 38 | .Nm |
37 | is a program that speaks the server side of SFTP protocol | 39 | is a program that speaks the server side of SFTP protocol |
@@ -54,12 +56,20 @@ for more information. | |||
54 | .Pp | 56 | .Pp |
55 | Valid options are: | 57 | Valid options are: |
56 | .Bl -tag -width Ds | 58 | .Bl -tag -width Ds |
59 | .It Fl e | ||
60 | Causes | ||
61 | .Nm | ||
62 | to print logging information to stderr instead of syslog for debugging. | ||
57 | .It Fl f Ar log_facility | 63 | .It Fl f Ar log_facility |
58 | Specifies the facility code that is used when logging messages from | 64 | Specifies the facility code that is used when logging messages from |
59 | .Nm . | 65 | .Nm . |
60 | The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, | 66 | The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, |
61 | LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. | 67 | LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. |
62 | The default is AUTH. | 68 | The default is AUTH. |
69 | .It Fl h | ||
70 | Displays | ||
71 | .Nm | ||
72 | usage information. | ||
63 | .It Fl l Ar log_level | 73 | .It Fl l Ar log_level |
64 | Specifies which messages will be logged by | 74 | Specifies which messages will be logged by |
65 | .Nm . | 75 | .Nm . |
@@ -71,6 +81,17 @@ performs on behalf of the client. | |||
71 | DEBUG and DEBUG1 are equivalent. | 81 | DEBUG and DEBUG1 are equivalent. |
72 | DEBUG2 and DEBUG3 each specify higher levels of debugging output. | 82 | DEBUG2 and DEBUG3 each specify higher levels of debugging output. |
73 | The default is ERROR. | 83 | The default is ERROR. |
84 | .It Fl R | ||
85 | Places this instance of | ||
86 | .Nm | ||
87 | into a read-only mode. | ||
88 | Attempts to open files for writing, as well as other operations that change | ||
89 | the state of the filesystem, will be denied. | ||
90 | .It Fl u Ar umask | ||
91 | Sets an explicit | ||
92 | .Xr umask 2 | ||
93 | to be applied to newly-created files and directories, instead of the | ||
94 | user's default mask. | ||
74 | .El | 95 | .El |
75 | .Pp | 96 | .Pp |
76 | For logging to work, | 97 | For logging to work, |