summaryrefslogtreecommitdiff
path: root/sftp-server.0
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-11-09 12:08:24 +0000
committerColin Watson <cjwatson@debian.org>2013-11-09 12:08:24 +0000
commitee196dab7c5f97f0b80c8099343a375bead92010 (patch)
treef5e86571416d84ad156949e8a3ab12ed12d681f2 /sftp-server.0
parente01f4f6bfd6f5a47f810fd3522a151d59815402b (diff)
parentc41345ad7ee5a22689e2c009595e85fa27b4b39a (diff)
Import 6.4p1 tarball
Diffstat (limited to 'sftp-server.0')
-rw-r--r--sftp-server.073
1 files changed, 73 insertions, 0 deletions
diff --git a/sftp-server.0 b/sftp-server.0
new file mode 100644
index 000000000..391f42736
--- /dev/null
+++ b/sftp-server.0
@@ -0,0 +1,73 @@
1SFTP-SERVER(8) OpenBSD System Manager's Manual SFTP-SERVER(8)
2
3NAME
4 sftp-server - SFTP server subsystem
5
6SYNOPSIS
7 sftp-server [-ehR] [-d start_directory] [-f log_facility] [-l log_level]
8 [-u umask]
9
10DESCRIPTION
11 sftp-server is a program that speaks the server side of SFTP protocol to
12 stdout and expects client requests from stdin. sftp-server is not
13 intended to be called directly, but from sshd(8) using the Subsystem
14 option.
15
16 Command-line flags to sftp-server should be specified in the Subsystem
17 declaration. See sshd_config(5) for more information.
18
19 Valid options are:
20
21 -d start_directory
22 specifies an alternate starting directory for users. The
23 pathname may contain the following tokens that are expanded at
24 runtime: %% is replaced by a literal '%', %h is replaced by the
25 home directory of the user being authenticated, and %u is
26 replaced by the username of that user. The default is to use the
27 user's home directory. This option is useful in conjunction with
28 the sshd_config(5) ChrootDirectory option.
29
30 -e Causes sftp-server to print logging information to stderr instead
31 of syslog for debugging.
32
33 -f log_facility
34 Specifies the facility code that is used when logging messages
35 from sftp-server. The possible values are: DAEMON, USER, AUTH,
36 LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
37 The default is AUTH.
38
39 -h Displays sftp-server usage information.
40
41 -l log_level
42 Specifies which messages will be logged by sftp-server. The
43 possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG,
44 DEBUG1, DEBUG2, and DEBUG3. INFO and VERBOSE log transactions
45 that sftp-server performs on behalf of the client. DEBUG and
46 DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher
47 levels of debugging output. The default is ERROR.
48
49 -R Places this instance of sftp-server into a read-only mode.
50 Attempts to open files for writing, as well as other operations
51 that change the state of the filesystem, will be denied.
52
53 -u umask
54 Sets an explicit umask(2) to be applied to newly-created files
55 and directories, instead of the user's default mask.
56
57 For logging to work, sftp-server must be able to access /dev/log. Use of
58 sftp-server in a chroot configuration therefore requires that syslogd(8)
59 establish a logging socket inside the chroot directory.
60
61SEE ALSO
62 sftp(1), ssh(1), sshd_config(5), sshd(8)
63
64 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
65 filexfer-02.txt, October 2001, work in progress material.
66
67HISTORY
68 sftp-server first appeared in OpenBSD 2.8.
69
70AUTHORS
71 Markus Friedl <markus@openbsd.org>
72
73OpenBSD 5.4 July 16, 2013 OpenBSD 5.4