Rebex Tiny SFTP Server (free)

Intro

Rebex Tiny SFTP server is a small, minimalist, single-user SFTP server for testing purposes.

It's FREE for commercial and non-commercial use.

The server is extremely simple to use. Just unpack the ZIP file run the exe and that's all. You can tweak the configuration later if needed.

Need unlimited users? Want to run the server as a service? Need custom SSH commands? Try Rebex SFTP Server instead.

Download

Download - SFTP Server Application »

Download - C# source code »

Getting started

  1. Download and unpack the ZIP package.
  2. Optional: edit RebexTinySftpServer.exe.config.
  3. Run TinySftpServer.exe
  4. Press START button to begin serving files via SFTP.

Features

When to use Tiny SFTP Server

When NOT to use Tiny SFTP server

Compatibility

Tiny SFTP Server runs on:

Configuration

The server can be configured using RebexTinySftpServer.exe.config file. This configuration file must be placed in the same folder as the exe file.

Configuration key Description
sshPort TCP port on which the server runs. Default is 22.
userName Login name of the SFTP user.
userPassword Password of the SFTP user.
userPublicKeyDir Path to folder with user public keys used for private/public key authentication. Raw or Base-64-encoded SSH2 key format supported. Optional. Leave blank to disable key authentication.
userRootDir Root data folder. If the folder does not exist, the server creates it and puts some test data there.
showUserDetailsOnStartup If set to true, user name and password are displayed in the application. Set it to false to prevent this.
rsaPrivateKeyFile Path to the server RSA private key file. PKCS #8, OpenSSH/OpenSSL SSLeay and PuTTY formats are supported. A new key file is generated if it does not exist.
rsaPrivateKeyPassword Password for the server RSA private key file.
dssPrivateKeyFile Path to the server DSA private key file. PKCS #8, OpenSSH/OpenSSL SSLeay and PuTTY formats are supported. A new key file is generated if it does not exist.
dssPrivateKeyPassword Password for the server DSA private key file.
autoStart If set to true, the server starts when application is started. No need to press the button. Default is false.

Modifying the source code

Server is written in C# and uses Rebex File Server component. Component assemblies are not included in the installation package and you have to download them from File Server webpage.

Version history

2015-09-22 First version released. (1.0.0)
2016-06-09 Added autoStart option.  (1.0.1)
2016-09-16 Added public/private key authentication support. (1.0.2)
2016-11-15 (1.0.3)
           Fixed a bug that could cause timeout and session failure during SSH session renegotiation. 
           Proper maximum packet size used when sending channel data 
           (instead of hardcoded value).
          

Contact

Have a feature request or a question? Contact us.