1sftp-server(1M) System Administration Commands sftp-server(1M)
2
3
4
6 sftp-server - SFTP server subsystem
7
9 /usr/lib/ssh/sftp-server [-f log_facility] [-l log_level]
10
11
13 sftp-server implements the server side of the SSH File Transfer Proto‐
14 col as defined in the IETF draft-ietf-secsh-filexfer.
15
16
17 sftp-server is a subsystem for sshd(1M) and must not be run directly.
18 Command-line flags to sftp-server should be specified in the Subsystem
19 declaration. See sshd_config(4) for more information.
20
21
22 To enable the sftp-server subsystem for sshd add the following to
23 /etc/ssh/sshd_config:
24
25 Subsystem sftp /usr/lib/ssh/sftp-server
26
27
28
29
30 See sshd_config(4) for a description of the format and contents of that
31 file.
32
33
34 There is no relationship between the protocol used by sftp-server and
35 the FTP protocol (RFC 959) provided by in.ftpd.
36
38 Valid options are listed below. As stated above, these are to be speci‐
39 fied in the Subsystem declation of sshd_config.
40
41 -f log_facility
42
43 Specifies the facility code that is used when logging messages from
44 sftp-server. The possible values are: DAEMON, USER, AUTH, LOCAL0,
45 LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The default
46 is AUTH.
47
48
49 -l log_level
50
51 Specifies which messages will be logged by sftp-server. The possi‐
52 ble values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1,
53 DEBUG2, and DEBUG3. INFO and VERBOSE log transactions that sftp-
54 server performs on behalf of the client. DEBUG and DEBUG1 are
55 equivalent. DEBUG2 and DEBUG3 each specify higher levels of debug‐
56 ging output. The default is ERROR.
57
58
60 The following exit values are returned:
61
62 0 Successful completion.
63
64
65 >0 An error occurred.
66
67
69 /usr/lib/ssh/sftp-server Server-side binary.
70
71
73 See attributes(5) for descriptions of the following attributes:
74
75
76
77
78 ┌─────────────────────────────┬─────────────────────────────┐
79 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
80 ├─────────────────────────────┼─────────────────────────────┤
81 │Availability │SUNWsshdu │
82 ├─────────────────────────────┼─────────────────────────────┤
83 │Interface Stability │Evolving │
84 └─────────────────────────────┴─────────────────────────────┘
85
87 sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4),
88 attributes(5)
89
90
91
92SunOS 5.11 24 Oct 2007 sftp-server(1M)