SFTP server subsystem


sftp-server -words [-ehR] [-d start_directory] [-f log_facility] [-l log_level] [-P blacklisted_requests] [-p whitelisted_requests] [-u umask] sftp-server -Q protocol_feature


sftp-server is a program that speaks the server side of SFTP protocol to stdout and expects client requests from stdin. sftp-server is not intended to be called directly, but from sshd(8) using the Subsystem option.

Command-line flags to sftp-server should be specified in the Subsystem declaration. See sshd_config(5) for more information.

Valid options are:

On some systems, sftp-server must be able to access /dev/log for logging to work, and use of sftp-server in a chroot configuration therefore requires that syslogd(8) establish a logging socket inside the chroot directory.


sftp-server first appeared in OpenBSD 2.8 .


Markus Friedl <markus@openbsd.org>


sftp(1), ssh(1), sshd_config(5), sshd(8) T. Ylonen and S. Lehtinen, October 2001, draft-ietf-secsh-filexfer-02.txt, work in progress material, SSH File Transfer Protocol

Copied to clipboard
free 100$ digital ocean credit