ElectricPropulsion.org
Repower calculator, guides & CAN tools

Cerbo GX and Venus OS: remote access, SSH and settings from the command line

How Venus OS is built, the safe ways to reach a Cerbo GX remotely, how to enable SSH, and how to read and change settings over D-Bus — from Victron's manual and open-source code.

TTMH13 min read11 sections
Charging
On this page
  1. How Venus OS is built
  2. Ways in, and what each is for
  3. Step 1: lock down local access first
  4. Step 2: remote access through VRM
  5. Step 3: command line from outside the boat
  6. Step 4: enable SSH
  7. Step 5: find your way around
  8. Step 6: change settings from the command line
  9. A checklist for a boat
  10. Sources
  11. Related reading

A Cerbo GX is a small Linux computer. Its software, Venus OS, is open source, and with root access you can do far more than the menus allow — read any value on the system, change settings from a script, run your own code. You can also break things in ways a factory reset won't fix.

This guide covers how Venus OS is put together, the ways to reach a Cerbo from somewhere else, how to turn on SSH, and how to read and change settings from the command line. Everything is from Victron's Cerbo GX manual, its root-access and Venus OS Large pages, the Venus OS changelog and Victron's open-source code on GitHub, linked under Sources. The menus quoted are those of the New UI (gui-v2) on Venus OS 3.50 and later.

Before you start. Victron's root-access page warns that changes to the system "will be lost in case of a firmware update", and that bricking the device is unlikely "but its certainly possible". On a boat the Cerbo coordinates charging and the BMS, so experiment on a spare unit or a Raspberry Pi running Venus OS — Victron recommends the same — not on the device running your propulsion bank.


How Venus OS is built

Two firmware slots and a data partition. The firmware is installed as a complete image, and the previous one is kept: Settings → General → Firmware → Stored backup firmware boots it, and the current version becomes the new backup. Your settings, logs and your own files live separately in /data, which survives updates. Everything outside /data is replaced by the next update.

A read-only root filesystem. The system partition is mounted read-only and has about 5% free space. That's deliberate: it keeps the image intact between updates.

Normal and Large images. Under Settings → General → Firmware → Online updates, the image type can be Normal or Large. Large adds Node-RED and Signal K server. They're resource-hungry; Cerbo GX MK3 vs MK2 covers when that matters.

D-Bus is the backbone. Every device the Cerbo knows about is a D-Bus service with paths:

ServiceWhat it is
com.victronenergy.battery.*each battery monitor or BMS
com.victronenergy.vebus.*the inverter/charger system
com.victronenergy.solarcharger.*each MPPT
com.victronenergy.motordrive.*an electric motor drive (see the motor drive guide)
com.victronenergy.systemthe system overview: main battery SoC, voltage, current, PV power, AC sources
com.victronenergy.settingsevery setting you can change in the menus — and more

The display, VRM, Modbus TCP and MQTT all read from D-Bus. So does anything you write yourself.

Services run under daemontools. Each program is a service under /service, with its log in /log/<service>/current. Changes under /service don't survive a reboot.


Ways in, and what each is for

RouteNeedsUse it for
GX Touch screenthe screeneverything in the menus
Remote Console on LANsame network; http://venus.local or the IPthe same menus in a browser
VictronConnect over Bluetoothphone within about 10 minitial setup and network settings only
Remote Console on VRMinternet on the boat, VRM accountthe menus from anywhere
VictronConnect-Remote via VRMinternet, VRM Portal mode Fullconfiguring connected Victron products remotely
Modbus TCP, MQTTsame networkreading and writing values from other software
SSHsame network, root accessthe command line

Only the last row gives you a shell, and Victron provides it on the local network only.


Step 1: lock down local access first

Since Venus OS 3.50, a local network security profile controls everything reachable over Ethernet or WiFi — Remote Console in a browser, MQTT, the web apps. Set it under Settings → General → Access & Security → Local network security profile:

ProfileWhat the menu says
Secured (default on new devices)"Local network services are password protected", "The network communication is encrypted", "A secure connection with VRM is enabled", "Insecure settings cannot be enabled"
WeakPassword protected; "Unencrypted access to local websites is enabled as well (HTTP/HTTPS)"
Unsecured"Local network services do not need a password"; unencrypted access enabled

Units shipped with 3.50 or later come with a password: the six-digit Bluetooth PIN printed on the enclosure. On Secured, your browser shows a certificate warning the first time; accept it, and the login lasts 365 days.

The marine MFD trade-off. Victron's manual says Garmin's MFD app needs the profile set to Unsecured, or the app won't appear, and recommends Unsecured for other brands too to avoid repeated login prompts. If you do that, anyone on the boat's WiFi can change settings — so keep the WiFi password tight and guests on a separate network.

Lost the password? A long press of the Cerbo's push-button resets the network settings and passwords: Ethernet to DHCP, the WiFi access point on, the Remote Console password off, Remote Console on LAN and VRM enabled, and the Bluetooth PIN reset. A "reset to factory defaults" USB stick is the other route.


Step 2: remote access through VRM

This is the supported way to reach the boat from home, and it needs nothing from the marina's router.

  1. Connect the Cerbo to the internet: the boat's router, marina WiFi or a 4G router.
  2. Register it at vrm.victronenergy.com. Settings → VRM also has a link button for this.
  3. Check VRM Portal mode under Settings → VRM → VRM Portal:
ModeData to VRMRemote Console and ControlsVictronConnect-Remote and remote firmware updates
Full (default)yesfull controlyes
Read-onlyyesview only, no changesno
Offnonono
  1. On VRM, open the installation and choose Remote Console.

What goes over the internet. Data goes to ccgxlogging.victronenergy.com over HTTPS on port 443. Remote Console on VRM and Victron's Remote Support use an outbound reverse-SSH connection to Victron's relay servers, trying ports 22, 80 and 443 in turn. Victron's manual says plainly: "No port forwarding or other internet router configuration is necessary". If Remote Console on VRM won't connect, its troubleshooting step is to open https://ccgxlogging.victronenergy.com/ in a browser on the same network: a 403 or 405 error means the connection works, and a timeout means a firewall is blocking it.

Remote Support is not remote SSH for you. Settings → General → Access & Security → Remote support opens a tunnel for Victron's engineers when you ask them for help. Leave it off otherwise; it's off by default.

On a metered 4G connection, Read-only cuts what the boat can do remotely without cutting logging, and VRM lets you turn off real-time mode to save data.


Step 3: command line from outside the boat

Victron doesn't offer SSH over the internet, and you shouldn't create it by forwarding port 22 on the boat's router to the Cerbo: that puts a root login on the open internet. The sound pattern is to join the boat's network over a VPN, then SSH as if you were aboard.

  • A VPN on the boat's router. Many 4G and marine routers run WireGuard or OpenVPN, or a Tailscale client. Nothing changes on the Cerbo, and a firmware update can't remove it. This is the option to prefer.
  • WireGuard on the Cerbo. Since Venus OS 3.20, wireguard-tools is an optional opkg package and the kernel has the WireGuard driver. Packages installed with opkg are removed by each firmware update, so you'd reinstall it from /data/rc.local or by hand after updating.
  • Tailscale on the Cerbo. Venus OS 3.40 enabled the kernel modules Tailscale needs, and community packages install it. Victron's own GUI code contained a Tailscale settings page during 2024–25, but it was removed in September 2025, so treat any Tailscale add-on as unsupported community software.

Whatever you choose, test it at the dock, and keep VRM as your fallback way in.


Step 4: enable SSH

From Victron's root-access page and the Access & Security menu:

  1. Raise the access level to Superuser. Under Settings → General → Access & Security, set Access level to User & Installer. Then highlight Access level without opening it and hold the right-hand button until it changes to Superuser. On a touchscreen or in Remote Console, drag the menu down and hold for about five seconds.
  2. Set a root password in the same menu: at least six characters. Victron advises a complex one, used once to install an SSH key.
  3. Enable SSH on LAN.
  4. Log in as root:
ssh root@venus.local
  1. Switch to keys. Put your public key in ~/.ssh/authorized_keys. Victron notes that keys are stored on the data partition, so they survive updates. Once key login works, Victron's page gives this to disable password logins for root:
echo 'root:*' | chpasswd -e

A firmware update resets the root password, which is another reason to use keys.


Step 5: find your way around

Files that survive and files that don't

PathSurvives a firmware update?Notes
/datayessettings, logs, your scripts
/data/rcS.local, /data/rc.localyesrun early and late during boot — the place for your own start-up commands
everything elsenoread-only, replaced by updates

To change the root filesystem anyway, mount -o remount,rw / makes it writable until the next reboot, and /opt/victronenergy/swupdate-scripts/remount-rw.sh until the next firmware update. If Modifications enabled is switched off under Settings → General → Modification checks, Venus OS renames rc.local and rcS.local to *.disabled at every boot — a quick way to rule out your own changes when something misbehaves.

Reading D-Bus

The dbus command is installed. Always use -y, for the system bus:

dbus -y                                     # list every service
dbus -y com.victronenergy.system /Dc/Battery/Soc GetValue
dbus -y com.victronenergy.battery.<service-name> / GetValue    # every value of one service
dbus -y com.victronenergy.settings          # list every settings path

/ GetValue doesn't work on some Python services, including the settings service; list the paths instead. For browsing, dbus-spy is better: arrow keys to move, Enter to open a service or edit a value, t to toggle values and text, q to quit.

Services and logs

svstat /service/*                           # what's running
svc -d /service/<name>                      # stop a service
svc -u /service/<name>                      # start it again
tail -F /log/<name>/current | tai64nlocal   # follow its log with readable timestamps
grep -h -i error /log/*/current | tai64nlocal

Victron's own diagnostic examples look at the vrmlogger, mk2 and dbus-systemcalc-py logs.

Installing packages

/opt/victronenergy/swupdate-scripts/set-feed.sh release
opkg update
opkg list | grep <name>
opkg install <name>

Only packages Victron has built are available, the feed must match your firmware (release for official versions, candidate for betas), and every firmware update removes them.


Step 6: change settings from the command line

Settings are D-Bus paths in com.victronenergy.settings. The pattern is always the same: read, change, read back.

dbus -y com.victronenergy.settings /Settings/Services/Modbus GetValue
dbus -y com.victronenergy.settings /Settings/Services/Modbus SetValue 1
dbus -y com.victronenergy.settings /Settings/Services/Modbus GetValue

The paths below are the ones the menus themselves use, taken from Victron's open-source GUI code; the values are the menu options in order.

PathMenuValues
/Settings/System/SSHLocalSSH on LAN0 off, 1 on
/Settings/System/RemoteSupportRemote support0 off, 1 on
/Settings/System/AccessLevelAccess level0 User, 1 User & Installer, 2 Superuser, 3 Service
/Settings/System/SecurityProfileLocal network security profile0 Secured, 1 Weak, 2 Unsecured — read only from the shell, see below
/Settings/Network/VrmPortalVRM Portal mode0 Off, 1 Read-only, 2 Full
/Settings/Services/ModbusModbus TCP server0 off, 1 on
/Settings/Services/MqttLocalMQTT access0 off, 1 on, 2 paired devices only
/Settings/System/AutoUpdateAutomatic updates0 disabled, 1 check and update, 2 check only, 3 check and download
/Settings/System/ReleaseTypeUpdate feed0 official release, 1 beta
/Settings/System/ImageTypeImage type0 Normal, 1 Large
/Settings/Services/BolDVCC0 off, 1 on
/Settings/SystemSetup/MaxChargeCurrentDVCC maximum charge currentamps; −1 = no limit
/Settings/SystemSetup/MaxChargeVoltageDVCC managed-battery charge voltage limitvolts; 0 = off

Node-RED and Signal K are switched on a different service, com.victronenergy.platform, at /Services/NodeRed/Mode (0 disabled, 1 enabled, 2 enabled in safe mode) and /Services/SignalK/Enabled.

Victron's own example of a shell change is turning SSH off:

dbus -y com.victronenergy.settings /Settings/System/SSHLocal SetValue 0

Three cautions.

  • Use the menu for the security profile. The menu changes it through a separate call that sets the password at the same time, so don't write the path directly.
  • Some settings have side effects the menu handles for you. Switching DVCC off with Multis present, for example, makes the menu warn you to reset the VE.Bus system. Writing the path skips that warning.
  • A wrong value can cut you off. Turning VRM Portal mode off or SSH off from a remote session ends that session. Do it from the boat, or know your way back in.

Updating firmware from the shell

The updater is a script, with these options in its own help text:

/opt/victronenergy/swupdate-scripts/check-updates.sh -check      # only check
/opt/victronenergy/swupdate-scripts/check-updates.sh -update     # check and install if newer
/opt/victronenergy/swupdate-scripts/check-updates.sh -offline    # look for an image on USB or microSD

It uses the feed and image type set in the two settings above. -force reinstalls even when the version is the same or older. Victron's manual recommends keeping automatic updates off on most systems and updating "at a convenient moment; when people are on location and ready to revert" — on a boat, at the dock, not before a passage.


A checklist for a boat

  • Security profile Secured, unless an MFD app needs Unsecured — and then a strong WiFi password and a separate guest network.
  • VRM registered, Portal mode Full if you want to fix things from home, Read-only if you only want to watch.
  • No ports forwarded to the Cerbo. A VPN on the router for command-line access.
  • SSH with keys only, and off when you don't need it.
  • Your own changes in /data/rc.local, so they survive updates and you know where they all are.
  • Firmware updates at the dock, with the stored backup firmware as your way back.

Sources

Checked on 15 November 2026:

  • Victron Energy — Ekrano GX, Cerbo GX, Nucleo GX manual: network security profile and password recovery, push-button reset, VRM Portal modes, outbound connections and ports, Remote Console troubleshooting, stored backup firmware, update advice, MFD app requirement
  • Victron Energy — Cerbo GX manual: Accessing the GX device and Configuration: access routes and menu paths
  • Victron Energy — Venus OS: Root access: Superuser access level, root password, SSH on LAN, keys, read-only rootfs, /data and rc.local, modification checks, the D-Bus SetValue example
  • Victron Energy — Venus OS Large: image type, Node-RED and Signal K, support statement
  • Victron Energy on GitHub — Venus OS wiki: commandline development and D-Bus: dbus, dbus-spy, daemontools, logs, opkg, the system service
  • Victron Energy on GitHub — gui-v2 (commit of 13 November 2026): settings paths and values used by the menus, security profile texts, the Tailscale page's addition (2024) and removal (September 2025)
  • Victron Energy on GitHub — meta-victronenergy check-updates.sh: updater options and feed and image-type values
  • Victron Energy — Venus OS firmware change log (via a Victron distributor's copy): security profile and VRM Portal mode introduced in 3.50, WireGuard in 3.20, Tailscale kernel modules in 3.40

We are not affiliated with Victron Energy.


Want exact numbers for your boat?

Use the configurator to generate a vendor-ready spec sheet.

Start the configurator
TPublished by TMHNovember 15, 2026
About & methodology