Stand with Ukraine 🇺🇦  Donate Today.

# Standalone SFTP Server

This Software is Abandoned

This documentation is for abandoned software which does not recieve any security updates or support from the community. This documentation has been left accessible for historial reasons.

You should be installing and using Wings in production environments with Pterodactyl Panel 1.0.


Standalone SFTP support was introduced in [email protected] and [email protected] and will not work with prior versions.

Pterodactyl now ships with the option to use a standalone SFTP server (opens new window) rather than using the one that was built into the Daemon. This provides better compatibility with SFTP clients, improved transfer speeds, and a more native approach to file handling and server operation.

Because this functionality is new, we've decided to make it an opt-in process, rather than an opt-out process. This page will cover how to setup your standalone SFTP server.

# Disable Daemon's Server

To disable the Daemon SFTP server, you only need to add sftp.enabled=false to your Daemon's core.json file.

  "sftp": {
    "ip": "",
    "enabled": false,
    "port": 2022,

Once you've done that, restarting the Daemon will apply the change and not boot the built-in server.

# Run the Standalone Server

To download the standalone server, execute the command below in your Daemon's base directory (generally /srv/daemon).

curl -Lo sftp-server
chmod +x sftp-server

Excellent, now you've got the server binary. Because we've written this server using go (opens new window) there are no additional dependencies you need to install.

# Start the Server

Finally, start the SFTP server so that you can then use it to access your files.


By default, this will start the SFTP server on the old port of 2022. If you want to use a different port it can be specified by passing the --port flag. For more advanced usage, please refer to the GitHub README (opens new window) which includes all of the flags and their default values.

# Daemonize Server

Chances are you'll want to daemonize the SFTP server using something like systemd so that it will run in the background. Place the contents below in a file called pterosftp.service in the /etc/systemd/system directory.

Description=Pterodactyl Standalone SFTP Server



Then, run the command below to enable it in systemd and start the SFTP server.

systemctl enable --now pterosftp

# Customizing Startup

If you're trying to pass additional arguments to the server when starting it using SystemD you'll want to modify the ExecStart line. Something like ExecStart=/srv/daemon/sftp-server --port 2022 for example.