]>
Commit | Line | Data |
---|---|---|
62b92bdc | 1 | .\" $OpenBSD: sftp-server.8,v 1.16 2009/08/27 17:43:00 djm Exp $ |
bcbf86ec | 2 | .\" |
f3c7c613 | 3 | .\" Copyright (c) 2000 Markus Friedl. All rights reserved. |
bcbf86ec | 4 | .\" |
5 | .\" Redistribution and use in source and binary forms, with or without | |
6 | .\" modification, are permitted provided that the following conditions | |
7 | .\" are met: | |
8 | .\" 1. Redistributions of source code must retain the above copyright | |
9 | .\" notice, this list of conditions and the following disclaimer. | |
10 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
11 | .\" notice, this list of conditions and the following disclaimer in the | |
12 | .\" documentation and/or other materials provided with the distribution. | |
13 | .\" | |
14 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |
15 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | |
16 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | |
17 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | |
18 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | |
19 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
20 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
21 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
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. | |
24 | .\" | |
e473dcd1 | 25 | .Dd $Mdocdate$ |
b5e300c2 | 26 | .Dt SFTP-SERVER 8 |
27 | .Os | |
28 | .Sh NAME | |
29 | .Nm sftp-server | |
30 | .Nd SFTP server subsystem | |
31 | .Sh SYNOPSIS | |
32 | .Nm sftp-server | |
a13880bb | 33 | .Op Fl f Ar log_facility |
34 | .Op Fl l Ar log_level | |
62b92bdc | 35 | .Op Fl u Ar umask |
b5e300c2 | 36 | .Sh DESCRIPTION |
37 | .Nm | |
38 | is a program that speaks the server side of SFTP protocol | |
39 | to stdout and expects client requests from stdin. | |
40 | .Nm | |
41 | is not intended to be called directly, but from | |
33de75a3 | 42 | .Xr sshd 8 |
b5e300c2 | 43 | using the |
44 | .Cm Subsystem | |
45 | option. | |
a13880bb | 46 | .Pp |
47 | Command-line flags to | |
48 | .Nm | |
49 | should be specified in the | |
50 | .Cm Subsystem | |
51 | declaration. | |
b5e300c2 | 52 | See |
433e60ac | 53 | .Xr sshd_config 5 |
b5e300c2 | 54 | for more information. |
a13880bb | 55 | .Pp |
56 | Valid options are: | |
57 | .Bl -tag -width Ds | |
58 | .It Fl f Ar log_facility | |
59 | Specifies the facility code that is used when logging messages from | |
60 | .Nm . | |
61 | The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, | |
62 | LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. | |
63 | The default is AUTH. | |
64 | .It Fl l Ar log_level | |
65 | Specifies which messages will be logged by | |
66 | .Nm . | |
67 | The possible values are: | |
68 | QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. | |
69 | INFO and VERBOSE log transactions that | |
70 | .Nm | |
71 | performs on behalf of the client. | |
72 | DEBUG and DEBUG1 are equivalent. | |
73 | DEBUG2 and DEBUG3 each specify higher levels of debugging output. | |
74 | The default is ERROR. | |
62b92bdc | 75 | .It Fl u Ar umask |
76 | Sets an explicit | |
77 | .Xr umask 2 | |
78 | to be applied to newly-created files and directories, instead of the | |
79 | user's default mask. | |
a13880bb | 80 | .El |
66fba053 | 81 | .Pp |
82 | For logging to work, | |
83 | .Nm | |
84 | must be able to access | |
85 | .Pa /dev/log . | |
86 | Use of | |
87 | .Nm | |
b31ae930 | 88 | in a chroot configuration therefore requires that |
66fba053 | 89 | .Xr syslogd 8 |
90 | establish a logging socket inside the chroot directory. | |
b5e300c2 | 91 | .Sh SEE ALSO |
2cad6cef | 92 | .Xr sftp 1 , |
b5e300c2 | 93 | .Xr ssh 1 , |
433e60ac | 94 | .Xr sshd_config 5 , |
33de75a3 | 95 | .Xr sshd 8 |
2cad6cef | 96 | .Rs |
7b518233 | 97 | .%A T. Ylonen |
98 | .%A S. Lehtinen | |
2cad6cef | 99 | .%T "SSH File Transfer Protocol" |
100 | .%N draft-ietf-secsh-filexfer-00.txt | |
101 | .%D January 2001 | |
102 | .%O work in progress material | |
103 | .Re | |
33de75a3 | 104 | .Sh HISTORY |
105 | .Nm | |
5ed1a353 | 106 | first appeared in |
107 | .Ox 2.8 . | |
108 | .Sh AUTHORS | |
109 | .An Markus Friedl Aq markus@openbsd.org |