summaryrefslogtreecommitdiff
path: root/sftp-server.0
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-server.0')
-rw-r--r--sftp-server.017
1 files changed, 15 insertions, 2 deletions
diff --git a/sftp-server.0 b/sftp-server.0
index d47fc0ceb..6628dcfca 100644
--- a/sftp-server.0
+++ b/sftp-server.0
@@ -4,7 +4,7 @@ NAME
4 sftp-server - SFTP server subsystem 4 sftp-server - SFTP server subsystem
5 5
6SYNOPSIS 6SYNOPSIS
7 sftp-server [-f log_facility] [-l log_level] 7 sftp-server [-ehR] [-f log_facility] [-l log_level] [-u umask]
8 8
9DESCRIPTION 9DESCRIPTION
10 sftp-server is a program that speaks the server side of SFTP protocol to 10 sftp-server is a program that speaks the server side of SFTP protocol to
@@ -17,12 +17,17 @@ DESCRIPTION
17 17
18 Valid options are: 18 Valid options are:
19 19
20 -e Causes sftp-server to print logging information to stderr instead
21 of syslog for debugging.
22
20 -f log_facility 23 -f log_facility
21 Specifies the facility code that is used when logging messages 24 Specifies the facility code that is used when logging messages
22 from sftp-server. The possible values are: DAEMON, USER, AUTH, 25 from sftp-server. The possible values are: DAEMON, USER, AUTH,
23 LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. 26 LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
24 The default is AUTH. 27 The default is AUTH.
25 28
29 -h Displays sftp-server usage information.
30
26 -l log_level 31 -l log_level
27 Specifies which messages will be logged by sftp-server. The pos- 32 Specifies which messages will be logged by sftp-server. The pos-
28 sible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DE- 33 sible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DE-
@@ -31,6 +36,14 @@ DESCRIPTION
31 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of 36 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of
32 debugging output. The default is ERROR. 37 debugging output. The default is ERROR.
33 38
39 -R Places this instance of sftp-server into a read-only mode. At-
40 tempts to open files for writing, as well as other operations
41 that change the state of the filesystem, will be denied.
42
43 -u umask
44 Sets an explicit umask(2) to be applied to newly-created files
45 and directories, instead of the user's default mask.
46
34 For logging to work, sftp-server must be able to access /dev/log. Use of 47 For logging to work, sftp-server must be able to access /dev/log. Use of
35 sftp-server in a chroot configuration therefore requires that syslogd(8) 48 sftp-server in a chroot configuration therefore requires that syslogd(8)
36 establish a logging socket inside the chroot directory. 49 establish a logging socket inside the chroot directory.
@@ -47,4 +60,4 @@ HISTORY
47AUTHORS 60AUTHORS
48 Markus Friedl <markus@openbsd.org> 61 Markus Friedl <markus@openbsd.org>
49 62
50OpenBSD 4.6 March 26, 2009 1 63OpenBSD 4.6 January 9, 2010 1