Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Transfer Game Server Files Securely with SFTP

SFTP transfers files over an encrypted SSH connection. Check the server-specific connection details and host key, back up files before changing them, and read back uploads to confirm the actual server state.


SFTP transfers files over an encrypted SSH connection. To connect, you need the SFTP details that your server panel or provider gives for that specific server. Also check the SSH host key when connecting for the first time. Before changing world or configuration files, download a backup and stop the server using the documented method. (OpenSSH: sftp(1))

How it works at AeonHost: You sign in to the server panel with your AeonHost account – there is no separate panel password. For SFTP, set your own password in the panel via the profile menu under “SFTP-Passwort”. The SFTP username and port are shown in your server under “Settings” (port 2022).

Use the correct connection details

Open the server view and look for the file or SFTP details. Enter the hostname, port, username and offered authentication method exactly as shown for the server. There is no universal game server port or fixed address: in Pterodactyl, for example, the SFTP port is a separate setting on the node. So do not use your game port or automatically assume the panel website's address is the right one. (Pterodactyl: Creating a New Node)

The panel website and the SFTP client are two different access methods. The email address for web login is not automatically the SFTP username. Whether an account password also works for SFTP, or you need a key or a special SFTP credential, depends on the setup. FileZilla also notes that the username and password may differ from the usual website login. Follow the panel's instructions or ask your provider instead of guessing credentials or disabling a security feature. (FileZilla Pro: How to connect to an SFTP Server)

Explicitly select SFTP in the client. In a terminal with OpenSSH, a connection looks like this, for example:

sftp -P PORT BENUTZER@HOST

Replace PORT, BENUTZER and HOST with the values shown for your server. -P sets the destination port. SFTP is not the same as FTP or FTPS; OpenSSH runs SFTP over SSH. (OpenSSH: sftp(1))

When you connect for the first time, the client displays the server host key fingerprint. Compare it with a fingerprint that your provider confirms through an independent, trusted channel. Confirm the connection only if the values match. If you see an unexpected warning or a key changes later, stop and have the change checked first. Do not simply dismiss the warning or delete a saved key to bypass the check. (FileZilla Pro: How to Validate Public Host Keys)

Back up and stop cleanly before making changes

You do not necessarily need to stop the server to download a static file. If you want to download or replace an active world, first use the save procedure documented for the game, if there is one, then stop the server through the designated normal method. Wait until the panel shows the server as stopped before creating a complete world copy or downloading or uploading world files. Such a copy may be inconsistent while the server is running. A panel backup is a useful additional copy only after it has completed successfully and you can download it. Keep the downloaded backup separate from the server. For individual files, you can also download the unchanged original file to your computer over SFTP. The guide to Minecraft server backups explains how to check a backup.

Do not use forced termination as the normal method. The stop behavior may be configured differently for each game server; a chat command such as /stop does not work for every game. Stopping the server is also no substitute for a backup. (Pelican: Creating a Custom Egg)

Transfer files and read them back

Before uploading, check the remote working directory in the client with pwd and ls. This reduces the risk of replacing a file with the same name on the wrong server or in the wrong directory. In the OpenSSH client, get downloads from the server and put uploads from your device. (OpenSSH: sftp(1))

Edit the downloaded copy locally and change only the settings you need. Do not replace an entire configuration file with an example from a forum: you can easily lose individual values. Some game server panels manage certain settings themselves and write them to files at startup. Pelican describes panel-controlled configuration fields for Eggs; if a setting comes from the panel, change it there according to the relevant documentation instead of permanently overriding the file. (Pelican: Creating a Custom Egg)

Upload the edited file only to the designated directory. If your client can upload a file under a temporary name, check that copy first and replace the original only afterward. Keep the separate original file until the server is running again. After uploading, download the file again or open it in the panel and read back the actual server-side state. Check the filename, directory and changed lines. A success message alone does not prove that you changed the right file.

Start the server only after checking the read-back. In the console, confirm that the expected version or setting loaded. If an error occurs, stop the server again and restore the specific saved file or backup. The separate guides for plugins and mods show which files belong to those changes.

If the connection or upload fails

  • Timeout or connection error: Check the host and SFTP port in the server details. The game connection port is not automatically the SFTP port.
  • Login rejected: Check the SFTP username and the specifically designated password or key authentication method. Do not share a password or private key in a ticket or chat.
  • Unknown or changed host key: Stop and ask your provider to confirm the fingerprint through an independent channel. Do not log in if the fingerprint differs.
  • Access denied or directory missing: Check whether you are in the right server directory and whether your account can write there. Do not set blanket file permissions such as 777; ask your provider if permissions are missing.

If you do not have SFTP details or a confirmed host key, ask through the contact channel. Do not send credentials.

Did this guide help? We are happy to help personally.