Sign in

Add a Rust server: setting up RCON and SSH access

From a bare Rust dedicated server to one the panel can see and manage.

What the panel needs

What each one unlocks

RCON alone gives you the live side: the console, the player list, chat, kicks and bans, the activity feed and the server's stats. The panel connects over RCON and stays connected, so this is everything that happens while the server is running.

RCON and SSH adds everything that has to change a file on the host:

Step 1: find your RCON settings

RCON is configured by startup arguments to RustDedicated, usually in a start script, a systemd unit or a container's environment. Look for these:

+rcon.web 1
+rcon.port 28016
+rcon.password "a-long-random-password"

Change any of these and restart the server: they are read at startup.

Step 2: make the RCON port reachable

The panel connects to your server from outside, so the RCON port has to be open to the internet, over TCP:

Step 3: add the server

  1. Sign in and open Servers, then + Add server.
  2. Enter the Host (your server's public address or domain name), the RCON port and the RCON password.
  3. Press Test connection. Add server stays disabled until a test succeeds, so you can't save a server the panel can't reach.
  4. Press Add server. Players, chat and the console fill in once it connects.

Step 4 (optional): set up SSH

Use a dedicated account for the panel, not the account the game runs as, and not root. Add it to the game's group so it can write the game's files:

sudo adduser --disabled-password --gecos "" rustd
sudo usermod -aG <game-group> rustd

Make a key pair for it. Use an RSA key: the panel does not accept ed25519 keys yet.

ssh-keygen -t rsa -b 4096 -f rustd-panel -N ""
sudo mkdir -p ~rustd/.ssh
sudo cp rustd-panel.pub ~rustd/.ssh/authorized_keys
sudo chown -R rustd: ~rustd/.ssh
sudo chmod 700 ~rustd/.ssh && sudo chmod 600 ~rustd/.ssh/authorized_keys

Then, in the panel:

  1. Open Credentials, press + Add credential, and enter the host, the SSH port (22 unless you changed it), the username, and the contents of the rustd-panel private key file. Press Test connection, then Save.
  2. Open your server's Settings. Under Access, pick the credential, then set the game install path: the directory that contains RustDedicated, or for a container, the host directory its install is mounted from. Browse lets you pick it.

The add-server page lists exactly which directories the SSH user must be able to write, and with what permissions. Anything it can't write is refused up front, with the path and the user named, before anything changes.

One more thing before you schedule wipes: the panel restarts the server for them, and a Rust server told to restart exits. Something on the host has to start it again, such as a systemd unit with Restart=always or a container with restart: unless-stopped.

When it won't connect

RCON: "Could not reach the server"

SSH: the credential test fails

Try it on a real server

rustd.xyz is a hosted control panel for the Rust servers you already run: players, bans, wipes, plugins, Discord and a live map in one place.

Try the live demo → Sign up See plans