Skip to content

06Templates (apps on your server)

App settings in the Server Hub

Change TeamSpeak, Mumble, Minecraft and Docker app settings in the Server Hub after installation, without SSH – using a dedicated, revocable key.

In short

After you install a template, your server has an App tab. There you can see the app’s status and change important settings without logging in via SSH. This works through a dedicated key that can only run these fixed actions on your server. You can revoke it at any time.

App Settings and actions
TeamSpeak 3 Server name, slots (free up to 32), welcome message, server password, new admin key, users online, restart, backup and restore, update to the version we’ve tested
Mumble Welcome text, server password, maximum users, new SuperUser password, number of users online, restart, backup
Minecraft Description, maximum players, difficulty, game mode, PvP, whitelist on/off, add players to the whitelist and as operators, players online, restart, world backup
Uptime Kuma, Vaultwarden, n8n, Portainer, WireGuard Status and version, restart, backup of the data folder, update to the version we’ve tested (with an automatic backup first)
Velocity Status, restart, update to the version we’ve tested
Nextcloud, FiveM Status and restart

Backups stay on your server in /var/backups/nh-app/<app> (the last 10 per app). For a backup outside the server, use the “Backup to the cloud” add-on or copy them off yourself.

If you tick Allow app settings in the Server Hub in the template form (it is not ticked by default), the Server Hub creates a dedicated SSH key for this app. On your server, it sits in /root/.ssh/authorized_keys with these restrictions:

  • restrict – no terminal, no forwarding, no other channels
  • command="/usr/local/sbin/nh-app <app>" – the key can only start the nh-app program for exactly this app, no matter which command is sent
  • from="…" – only from our shop’s address

nh-app knows a fixed list of actions and checks every input against a fixed rule. None of it is run as a command in a shell. What happened is logged on your server in /var/log/nh-app.log.

  • Server not reachable: Is the server running, and does your firewall allow SSH (port 22)?
  • Key rejected: Was the line removed from authorized_keys, or was the server reinstalled? Run the template again.
  • Different host key: The server is presenting itself differently than we know. For your safety, the Server Hub stops. After a reinstall, reset the remembered key under Access.
  • An installation is running right now: Wait until the template is finished.