Home · Help · Setting up SFTP access
Setting up SFTP access to your game server
From Flex M, you can also access the data folder of your game server via SFTP, for example to transfer large files or synchronize entire folders. The same rules apply as in the file manager.
Access details
| Protocol | SFTP |
|---|---|
| Server | the address from the card „SFTP“ in the customer portal |
| Port | 2022 |
| User | the ID of your server, for example server1234 |
| Login | Password or SSH key |
Setting up access
- In the customer portal, open your game server and the card „SFTP“.
- Select „Zugang einrichten“ (Set up access). The password is shown exactly once. Save it immediately, for example in a password manager.
- Enter the server, port, user and password in your SFTP client.
- When you connect for the first time, compare the fingerprint shown by your client with the value in the card „SFTP“.
With „Neues Passwort“ (New password), you generate a new password. The previous one is then no longer valid. „Zugang entfernen“ (Remove access) disables the access.
Login with an SSH key
Instead of the password or in addition to it, you can store up to ten public keys. Enter them in the field „Öffentliche Schlüssel (je Zeile einer)“ (Public keys, one per line) and select „Schlüssel speichern“ (Save keys). A key has the format ssh-ed25519 AAAA… name.
SFTP clients
FileZilla
In the Site Manager, select the protocol “SFTP - SSH File Transfer Protocol” and enter the server, port 2022, user and password.
WinSCP
Select SFTP as the “File protocol” and enter 2022 as the “Port number”.
Command line
sftp -P 2022 USER@SERVER
Scope of access
- Transferring, renaming and deleting files and creating folders, only in the data folder of the server.
- Protected files as in the file manager: backups and configuration files managed by the customer portal are read-only, and server credentials are not visible.
- No shell, no commands and no port forwarding.
- File permissions (chmod) have no effect. Symbolic links are not supported.
Security
- After three failed attempts, the server closes the connection. Repeated failed logins temporarily block the source address.
- A maximum of four simultaneous connections per address. After 15 minutes without activity, the connection is closed.
- Access is paused during a game switch and ends when switching to Flex S, in the event of a suspension and when the contract ends.
Frequently asked questions
- From which tier is SFTP available?
- From Flex M. With Flex S, you can view the files in the file manager and download them.
- What should I do if the password is lost?
- In the card „SFTP“, select the button „Neues Passwort“. The previous password is then no longer valid.
- Can I log in via SSH?
- No. The access only allows SFTP, no shell and no commands.
See also: File manager for game servers Project Zomboid: sandbox settings Custom Java startup parameters