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
- Choose Platform, Servers, then add a server.
- (Optional) For Hostname/IP, enter the host address.
- For SSH Port, enter the SSH port (default
22). - For SSH Username, enter the login user (default
root). - Turn on Enabled if myStack should manage the server.
- 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.
- Choose Platform, Servers.
- Under Add server from bash, choose Generate.
- 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
- Open the server.
- Choose Reboot for a graceful soft reboot, or Reset for a provider hardware reset (power cycle).
- Confirm the action.
Use Reset when the server is unresponsive or a soft reboot does not help.
To edit or delete a server
- Open the server.
- Choose Edit to update SSH settings, or Delete to remove the server from myStack.