This page describes the ~/.config/remoterf/ directory layout, RemoteRF Global hourly status reporting, and the administrator super token. None of these settings are required for a standard server bring-up.
Configuration Directory Layout
remoterf-server stores its configuration files, TLS certificates, custom drivers, and runtime databases under ~/.config/remoterf/ (on a RemoteRF host, host-specific settings live under ~/.config/remoterf/host/):
~/.config/remoterf/
├── server.env # Main gRPC and certificate port settings
├── global.env # RemoteRF Global enrollment, relay tunnel, and identity settings
├── tos.env # Terms of Service acceptance record
├── super_token.txt # Optional administrator override token
├── devices.yml # Physical device inventory attached to the server
├── certs/ # Generated TLS certificates and private keys
├── db/ # Accounts, groups, codes, reservations, clusters, and host auth state
├── drivers/ # Seeded and custom Python device schema files (<device>_schema.py) and registry/ JSON specs
└── remote_admin/ # Remote admin Ed25519 host key, policy settings, and audit state| Path | How to Manage | Purpose |
|---|---|---|
server.env |
serverrf config ports |
Stores the server's main gRPC port and certificate port. |
global.env |
serverrf global |
Stores the deployment slug, Global coordinator URL, relay SSH key paths, and registration state. |
tos.env |
First-run setup | Records acceptance of the RemoteRF Server Terms of Service. |
super_token.txt |
Edit manually | Optional administrator-only override token for direct device access without a reservation. |
devices.yml |
serverrf devices add or edit manually |
YAML manifest of physical SDRs attached to the server (use ~/.config/remoterf/host/devices.yml on a host). |
certs/ |
serverrf certs reset |
Generated TLS certificate and key files. Do not edit manually. |
db/ |
serverrf commands |
Server databases for users, groups, codes, reservations, clusters, and host tokens. Do not edit manually. |
drivers/ |
serverrf schema or edit manually |
Directory for seeded built-in schemas, custom <device>_schema.py modules, and drivers/registry/ approved JSON specs (see Custom Device Schema Guide). |
remote_admin/ |
serverrf admins |
Stores the remote administration Ed25519 host key, enrolled admin device keys, policy settings, and audit log. |
Backups: To export a hot snapshot of all SQLite databases while the server is running, run serverrf db export [dir] (which creates ~/Downloads/remoterf-export-<timestamp>.tgz). For a complete configuration backup, copy ~/.config/remoterf/ to a secure backup location.
Global Hourly Status Reporting
When a server is enrolled and active on RemoteRF Global, it automatically sends a lightweight liveness heartbeat every 5 minutes and a signed hourly summary report (11 aggregate fields, such as server version, uptime, account/reservation counts, and anonymous per-device type/online status) to RemoteRF Global. No manual publisher configuration or external token is required.
Administrator Super Token
The super token is an optional administrator-only override that allows connecting to a device from Python without creating a time-slot reservation. Use it only for administrator hardware testing and debugging; never share it with students or regular users.
Enabling a Super Token
Create ~/.config/remoterf/super_token.txt on the server, place a single high-entropy secret string on the first line (with no spaces), and restrict its file permissions:
mkdir -p ~/.config/remoterf
nano ~/.config/remoterf/super_token.txt
chmod 600 ~/.config/remoterf/super_token.txtRestart serverrf --serve after creating, rotating, or clearing super_token.txt. Leaving the file empty disables the super token.
Using the Super Token in Python
Pass the super token to any RemoteRF device constructor using one of three forms:
from remoterf.drivers.adalm_pluto import adi
# 1. Open the first available unreserved device:
sdr = adi.Pluto(token="my-private-super-token")
# 2. Open a specific device_id (e.g., device 0) only if it is unreserved:
sdr = adi.Pluto(token="my-private-super-token_0")
# 3. Force-open a specific device_id even if currently reserved:
sdr = adi.Pluto(token="my-private-super-token_0_force")Avoid the _force suffix while users are running experiments, as it can interrupt an active session on that device.