Don't have your Server Admin Query password? Look here!

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:


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.


  1. Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎

  2. Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎