diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-03-08 11:19:52 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-03-08 11:19:52 +0000 |
| commit | 6d4f2dd11a26e3c2c7f4838f72cf07230d7678a4 (patch) | |
| tree | f3af5b582d9a7808774ea77df321abab26782ebf /sftp-server.0 | |
| parent | e5e752b5a70a672df97b5d7ca5c1e58c87a27234 (diff) | |
Notes
Diffstat (limited to 'sftp-server.0')
| -rw-r--r-- | sftp-server.0 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/sftp-server.0 b/sftp-server.0 index d47fc0ceb44f..6628dcfca17d 100644 --- a/sftp-server.0 +++ b/sftp-server.0 @@ -4,7 +4,7 @@ NAME sftp-server - SFTP server subsystem SYNOPSIS - sftp-server [-f log_facility] [-l log_level] + sftp-server [-ehR] [-f log_facility] [-l log_level] [-u umask] DESCRIPTION sftp-server is a program that speaks the server side of SFTP protocol to @@ -17,12 +17,17 @@ DESCRIPTION Valid options are: + -e Causes sftp-server to print logging information to stderr instead + of syslog for debugging. + -f log_facility Specifies the facility code that is used when logging messages from sftp-server. The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The default is AUTH. + -h Displays sftp-server usage information. + -l log_level Specifies which messages will be logged by sftp-server. The pos- sible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DE- @@ -31,6 +36,14 @@ DESCRIPTION are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. The default is ERROR. + -R Places this instance of sftp-server into a read-only mode. At- + tempts to open files for writing, as well as other operations + that change the state of the filesystem, will be denied. + + -u umask + Sets an explicit umask(2) to be applied to newly-created files + and directories, instead of the user's default mask. + For logging to work, sftp-server must be able to access /dev/log. Use of sftp-server in a chroot configuration therefore requires that syslogd(8) establish a logging socket inside the chroot directory. @@ -47,4 +60,4 @@ HISTORY AUTHORS Markus Friedl <markus@openbsd.org> -OpenBSD 4.6 March 26, 2009 1 +OpenBSD 4.6 January 9, 2010 1 |
