OpenSSH SFTP server

OpenSSH SFTP server

SFTP server subsystem of the OpenSSH secure-remote-access suite

OpenSSH SFTP server screenshot

OpenSSH's sftp-server is the server-side SFTP subsystem that runs under sshd to provide secure file-transfer operations over the SSH transport. It is distributed as part of the OpenSSH suite and is available as an external sftp-server binary or via the internal-sftp implementation inside sshd. (openssh.com)

Key Features

  • Implements the server side of the SFTP protocol (invoked via sshd Subsystem or ForceCommand internal-sftp). (man.openbsd.org)
  • Provides both a standalone sftp-server binary and internal-sftp (in-process) mode for chrooted and restricted sessions. (openssh.com)
  • Supports modern SSH authentication methods (public-key, certificate support and protocol extensions such as FIDO/U2F) and a range of key-exchange and cipher algorithms. (cvsweb.openbsd.org)
  • Server-side protocol extensions are implemented (examples include server-side copy/corp-data extensions tracked in the sftp-server tree). (cvsweb.openbsd.org)
  • Designed with OpenSSH's privilege separation, logging options, and portability across Unix-like systems; crypto implementations include both dedicated algorithms (e.g., ChaCha20-Poly1305 sources) and links to OpenSSL/crypto APIs in the tree. (cvsweb.openbsd.org)

Use Cases

  • Providing secure SFTP access for remote users or automated backup clients over SSH with configurable chroot jails and restricted shells. (unitedbsd.com)
  • Embedding secure file-transfer into existing SSH-based infrastructure (system accounts, authorized_keys, certificates, and server-side policy). (openssh.com)
  • Offering server-side copy and protocol-extension features for efficient remote file operations (reducing client-side data movement). (cvsweb.openbsd.org)

Limitations and Considerations

  • Chroot configuration is strict: the chroot path must be owned by root and have strict permissions, which often causes confusing permission errors for administrators if not set up exactly. (reddit.com)
  • Platform/packaging variations (e.g., Windows ports or distro-packaged builds) have historically exhibited differences or bugs (notably reported issues with some Windows builds' ChrootDirectory handling). Administrators should test the exact packaged build used in production. (reddit.com)

OpenSSH's sftp-server is the canonical, widely used SFTP implementation for SSH-based file transfer. It is actively maintained inside the OpenSSH/OpenBSD source tree, supports protocol extensions and modern authentication methods, and is intended for integration with system-level account and chroot configurations.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Syncthing

Syncthing

Open-source, peer-to-peer file synchronization tool.

79.1k
4.9k
Last commit: 2d ago

Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

Alternative to:
Resilio Sync
Resilio Sync
+6
LocalSend

LocalSend

Open-source cross-platform local network file sharing app

73.3k
3.9k
Last commit: 4d ago

LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.

Alternative to:
Apple AirDrop
Apple AirDrop
+6
AList

AList

Multi-storage file listing server with WebDAV and previews

48.8k
8k
Last commit: 26d ago

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

Alternative to:
Dropbox
Dropbox
+19
copyparty

copyparty

Portable file server with fast resumable uploads and many protocols

41k
1.7k
Last commit: 19h ago

Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

Alternative to:
WeTransfer
WeTransfer
+19
qBittorrent

qBittorrent

Cross-platform BitTorrent client built with Qt and libtorrent

35k
4.5k
Last commit: 21h ago

qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Alternative to:
BitTorrent
BitTorrent
+2
Nextcloud

Nextcloud

Open-source collaboration platform for file sync and groupware

33.8k
4.7k
Last commit: 16h ago

Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...

Alternative to:
Google Drive
Google Drive
+19