Servers

A server is a cloud or bare metal machine in your Hetzner account that myStack can manage over SSH. Databases, Kubernetes nodes, and monitoring often create managed servers automatically. Use this page to register existing machines or join hosts with a one-time install script.

In the console

Choose Platform, Servers.

To add an existing server

  1. Choose Platform, Servers, then add a server.
  2. (Optional) For Hostname/IP, enter the host address.
  3. For SSH Port, enter the SSH port (default 22).
  4. For SSH Username, enter the login user (default root).
  5. Turn on Enabled if myStack should manage the server.
  6. Choose Save.

Fields

Field Description
Hostname/IP Optional host address myStack uses for SSH
SSH Port SSH port (default 22)
SSH Username SSH user (default root)
Enabled Whether myStack manages the server
Status Lifecycle status of the server

To join a server from bash

Generate a one-time join token, then run the install script on the machine.

  1. Choose Platform, Servers.
  2. Under Add server from bash, choose Generate.
  3. On the target machine, run the displayed command (for example, curl https://api.mystack.cloud/public/join/<token> | sh).

The script installs the account SSH public key and registers the host. The token expires at the time shown in the console.

Important Treat the join command as a secret. Anyone with a valid token can register a host into your account until the token expires.

To reboot or reset a server

  1. Open the server.
  2. Choose Reboot for a graceful soft reboot, or Reset for a provider hardware reset (power cycle).
  3. Confirm the action.

Use Reset when the server is unresponsive or a soft reboot does not help.

To edit or delete a server

  1. Open the server.
  2. Choose Edit to update SSH settings, or Delete to remove the server from myStack.

Related