Notes before continuing:
This guide is written for TeamSpeak 6 servers, but the same process applies to TeamSpeak 3. Note that you may need to use a different server file name. (e.g., ts3server.exe, or use the Telnet Query)
Changes that are new for TeamSpeak 6 Servers:
-
The ServerQuery is disabled by default and must be manually enabled by either using startup parameters or an environment variable, which can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub
-
Going forward, the Telnet Query is no longer supported with the TeamSpeak 6 Server.
How to proceed on Windows
Start the .exe with these parameters first to enable the SSH Query and set the serveradmin Query account password to your desired password:
.\tsserver.exe --query-ssh-enable --query-ssh-port 10022 --query-admin-password YOURPASSWORD
How to proceed on Linux
On Linux start the startscript with these parameters to first, enable the SSH Query and set the serveradmin Query account password to your desired password.
./tsserver_startscript.sh start query-ssh-enable query-ssh-port=10022 serveradmin_password=YOURPASSWORD
How to proceed on Docker Compose
This is the minimum recommended setup[1]
services:
teamspeak:
image: teamspeaksystems/teamspeak6-server:latest
container_name: teamspeak-server
restart: unless-stopped
ports:
- "9987:9987/udp" # Voice Port
- "30033:30033/tcp" # File Transfer
- "10022:10022" # SSH Query
environment:
- TSSERVER_LICENSE_ACCEPTED=accept
- TSSERVER_QUERY_SSH_ENABLED=true
- TSSERVER_QUERY_SSH_PORT=10022
volumes:
teamspeak-data:
name: teamspeak-data
How to proceed on with a configuration file
Starting the server like this, will use all of the settings configured in the tsserver.yaml
tsserver.exe --config-file tsserver.yaml
Make sure that the file tsserver.yaml is in the root directory of the server and has the following configuration at least[2]:
server:
query:
admin-password: "YOURPASSWORD"
ssh:
enable: 1
port: 10022
You should now be able to use the serveradmin Query account with the new custom set password.
Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎
Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎