System Administration Commands sftp-server(1M)
NAME
sftp-server - SFTP server subsystem
SYNOPSIS
/usr/lib/ssh/sftp-server [-f logfacility] [-l loglevel]
DESCRIPTION
sftp-server implements the server side of the SH File
Transfer Protocol as defined in the IETF draft-ietf-secsh-
filexfer.
sftp-server is a subsystem for sshd(1M) and must not be run
directly. Command-line flags to sftp-server should be speci-
fied in the Subsystem declaration. See sshdconfig(4) for
more information.
To enable the sftp-server subsystem for sshd add the follow-
ing to /etc/ssh/sshdconfig:
Subsystem sftp /usr/lib/ssh/sftp-server
See sshdconfig(4) for a description of the format and con-
tents of that file.
There is no relationship between the protocol used by sftp-
server and the FTP protocol (RFC 959) provided by in.ftpd.
OPTIONS
Valid options are listed below. As stated above, these are
to be specified in the Subsystem declation of sshdconfig.
-f logfacility
Specifies the facility code that is used when logging
messages from sftp-server. The possible values are: DAE-
MON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4,
LOCAL5, LOCAL6, LOCAL7. The default is AUTH.
-l loglevel
Specifies which messages will be logged by sftp-server.
The possible values are: QUIET, FATAL, EROR, INFO, VER-
BOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. INFO and VER-
BOSE log transactions that sftp-server performs on
SunOS 5.11 Last change: 24 Oct 2007 1
System Administration Commands sftp-server(1M)
behalf of the client. DEBUG and DEBUG1 are equivalent.
DEBUG2 and DEBUG3 each specify higher levels of debug-
ging output. The default is EROR.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/usr/lib/ssh/sftp-server Server-side binary.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWsshdu
Interface Stability Evolving
SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M),
sshdconfig(4), attributes(5)
SunOS 5.11 Last change: 24 Oct 2007 2
|