summaryrefslogtreecommitdiff
path: root/sftp-server.8
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-server.8')
-rw-r--r--sftp-server.825
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
37is a program that speaks the server side of SFTP protocol 39is a program that speaks the server side of SFTP protocol
@@ -54,12 +56,20 @@ for more information.
54.Pp 56.Pp
55Valid options are: 57Valid options are:
56.Bl -tag -width Ds 58.Bl -tag -width Ds
59.It Fl e
60Causes
61.Nm
62to print logging information to stderr instead of syslog for debugging.
57.It Fl f Ar log_facility 63.It Fl f Ar log_facility
58Specifies the facility code that is used when logging messages from 64Specifies the facility code that is used when logging messages from
59.Nm . 65.Nm .
60The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, 66The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2,
61LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. 67LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
62The default is AUTH. 68The default is AUTH.
69.It Fl h
70Displays
71.Nm
72usage information.
63.It Fl l Ar log_level 73.It Fl l Ar log_level
64Specifies which messages will be logged by 74Specifies which messages will be logged by
65.Nm . 75.Nm .
@@ -71,6 +81,17 @@ performs on behalf of the client.
71DEBUG and DEBUG1 are equivalent. 81DEBUG and DEBUG1 are equivalent.
72DEBUG2 and DEBUG3 each specify higher levels of debugging output. 82DEBUG2 and DEBUG3 each specify higher levels of debugging output.
73The default is ERROR. 83The default is ERROR.
84.It Fl R
85Places this instance of
86.Nm
87into a read-only mode.
88Attempts to open files for writing, as well as other operations that change
89the state of the filesystem, will be denied.
90.It Fl u Ar umask
91Sets an explicit
92.Xr umask 2
93to be applied to newly-created files and directories, instead of the
94user's default mask.
74.El 95.El
75.Pp 96.Pp
76For logging to work, 97For logging to work,