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. Paste a key under „Schlüssel hinzufügen“ (Add key) and select „Hinzufügen“ (Add). A key has the form ssh-ed25519 AAAA… name. Under „Öffentliche Schlüssel“ (Public keys) each key is listed with type, comment and fingerprint, the eye shows it in full, the trash icon removes it.
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 some settings files managed by the customer portal are read-only, server credentials are not visible. The customer portal takes over changed settings files as in the file manager.
- 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.
- My program reports „too many authentication failures“. What can I do?
- Your program tries too many keys one after another. Configure it to use only the matching key, with OpenSSH via
-o IdentitiesOnly=yes -i keyfile, or log in with the password (-o PubkeyAuthentication=no). - 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