Remote management, monitoring, and upgrades
Operate headless rnsd-rs and lxmd-rs nodes safely over Reticulum itself — no SSH port exposure required.
1. Remote management over Reticulum
-
Generate a dedicated admin identity on your operator workstation:
rnid-rs -g ~/.rsReticulum/admin_idrnid-rs -i ~/.rsReticulum/admin_id -p # copy the 32-char identity hash -
On the remote server, add that hash under
[reticulum]in~/.rsReticulum/configand restartrnsd-rs:[reticulum]enable_transport = yesenable_remote_management = yesremote_management_allowed = <admin_identity_hash> -
Record the remote server's transport identity hash (
rnid-rs -i ~/.rsReticulum/storage/transport_identity -p), then query or manage it remotely:rnstatus-rs -R <transport_id_hash> -i ~/.rsReticulum/admin_id -A -b -qrnpath-rs -R <transport_id_hash> -i ~/.rsReticulum/admin_id -W 20 -trnpath-rs -R <transport_id_hash> -i ~/.rsReticulum/admin_id -B <abusive_hash> --reason "flood"
For remote shell or single-command administration over Reticulum, run rnsh-rs --listen -a <admin_hash> or rnx-rs --listen -a <admin_hash> under systemd (always allowlisted).
2. Fleet health-check & JSON monitoring
Both rnstatus-rs --json and rnpath-rs --json emit machine-readable output for cron checks, Prometheus exporters, or LXMF alerting via lxmd-rs --send:
# Quick fleet check loop (replace hashes with your transport IDs)
for node in <hash_hub_1> <hash_hub_2>; do
echo "=== $node ==="
rnstatus-rs -R "$node" -i ~/.rsReticulum/admin_id -w 15 -A -b || echo "UNREACHABLE: $node"
done
See CLI tools reference for all flags (-w vs -W vs -t).
3. Safe backups (SQLite & keys)
rnsd-rs and lxmd-rs store live state in SQLite databases (storage/known_destinations.db, storage/cache/announces.db, storage/lxmf/state.db). Copying them while writing can produce a corrupted backup.
sudo systemctl stop lxmd-rs rnsd-rs
sudo tar -czf /var/backups/ratspeak-node-$(date +%F).tar.gz \
/home/operator/.rsReticulum \
/home/operator/.rsLXMF
sudo systemctl start rnsd-rs lxmd-rs
Store backup archives encrypted — they contain storage/transport_identity, storage/i2p/ keys (renaming an I2P interface or replacing transport_identity changes your .b32.i2p address), and ~/.rsLXMF/identity.
4. Upgrading cleanly
-
Read the release notes for both
rsReticulumandrsLXMF(especially storage migrations and config key changes). -
Take a stopped backup (Step 3 above) and note your current binary versions (
rnsd-rs --version,lxmd-rs --version). -
Upgrading from
rsReticulum 1.3.xto1.5.x:ifac_sizechanged from bytes to bits (matching Python Reticulum). Convert explicit values before starting1.5.x:rnsd-rs --config /home/operator/.rsReticulum config ifac-units \--interface "Private TCP" --source-units bytes --write -
One-way SQLite migration in
1.5.0+:rnsd-rsandlxmd-rs1.5.0+ import legacy cache files into SQLite on first start; rolling back to an older binary requires restoring your pre-upgrade backup. -
Replace binaries, start
rnsd-rsfirst, verifyrnstatus-rs, then startlxmd-rsand verifylxmd-rs --status.