Appearance
Install a node or a proxy from the panel
The panel can install a new node or proxy for you over SSH. It runs the same installer as the manual command. You never open a terminal.
Before you start
- A new machine with Ubuntu 22.04, Ubuntu 24.04 or Debian 12, with SSH on.
- A login for it:
root, or a user that can usesudo. A password or a private key. - The panel can reach the machine on its SSH port.
- The panel was installed from a release. It keeps the installer of its own version in
/opt/bitstream/releaseand sends only that one. To use another folder, setnode_api.install_bundle(BS_NODE_API_INSTALL_BUNDLE).
1. Create the key
- Open Servers and click Add server (or Add proxy, then pick the servers it covers).
- Click Create command.
For a panel proxy, open Servers, Panel proxies and click Add proxy. The same Install over SSH form shows up after you create it (more).
2. Install over SSH
- Under Install over SSH, type the server address, the SSH port and the user.
- Pick Password or Private key and fill it in.
- Not root? Type the sudo password. Leave it empty to use the SSH password, or if sudo needs no password.
- Click Check the server key. The panel shows the key of the server.
- Compare it with the server. On the server, run
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub. If it matches, tick I checked it. It is my server. - Type your panel password (and your 2FA code if it is on), then click Install the node (or Install the proxy).
The log shows up as the installer runs. When it ends, the panel shows Connected once the new server joins.
What the panel does and does not do
- It uses the password or key once, in memory. It never saves them: not in the database, not in Redis, not in logs, not in the audit log.
- It refuses to run anything if the server key is not the one you confirmed.
- It sends the installer of this panel version and checks it on the server with SHA-256 before it runs. It never downloads a script from a link.
- Only one install runs on a server at a time. An install stops after 20 minutes.
- The audit log records who installed what, where, with which key fingerprint. No secrets.
If it fails
- The server key changed: someone else may be on that address. Check the server before you try again.
- The server refused the login: check the user, the password or the key.
- Another CPU type: the panel has the installer for one CPU type only (amd64 or arm64). Use the manual command from a release of the right type.
- Anything else: read the log. You can always run the manual command instead. See Add a node and Add a proxy.