Jetson fleet management: provisioning, inventory and access for tens to thousands of Jetsons
Run a Jetson fleet in four layers: flash every unit from one golden image (NVIDIA's l4t_initrd_flash.sh builds a massflash package with --no-flash --massflash and flashes several modules at once), make each unit unique on first boot, keep an inventory of module, JetPack, NVIDIA library versions and power mode so drift shows, and control who can reach which unit. With PhysicalFleet, the installer's --image option puts the agent into that image, every Jetson joins as its own machine on first boot, and Fleet, Organize and Investigate › Parameters show where each unit is, what it runs and which ones differ, with roles and an audit log.
What you need
- A flashing host: an x86_64 Ubuntu machine with the Jetson Linux BSP and sample root filesystem for your release. Use Ubuntu 22.04 on the flashing host for JetPack 7.2.x (the one version every NVIDIA page accepts);
nv_build_samplefs.shneeds an Ubuntu 24.04 host or a container. JetPack 6.2.x flashes from 20.04 or 22.04. - One reference unit per module and carrier revision you ship. NVIDIA's mass flash requires identical hardware revisions in one batch.
- A good USB cable per unit and a way to put units into Force Recovery Mode.
- A PhysicalFleet account with the owner or admin role. It is free for up to 3 machines; see pricing.
The jobs come in order: provision, make each unit unique, keep an inventory, control access. Updates and monitoring have their own guides: Jetson Orin remote update and Jetson remote monitoring.
Ways to manage a Jetson fleet
| Method | Best for | Downsides on a Jetson |
|---|---|---|
| A spreadsheet and SSH | Under ten units on one network | The sheet says what you flashed, not what runs now. An apt upgrade on one unit changes CUDA or TensorRT and nobody writes it down |
| Scripts or a configuration tool over SSH | Teams that already run one for servers | Needs SSH to every unit, which NAT, customer firewalls and cellular block. Offline units silently miss the run |
NVIDIA's flash tools alone (SDK Manager, l4t_initrd_flash.sh) | Getting the same image onto many modules | They flash and stop. No record of which unit is where, and every unit leaves the bench with the same hostname and possibly the same IDs |
| A VPN overlay plus SSH | Reaching a few units anywhere | Keys on every unit and laptop, wide access unless you write rules, and no inventory of modules or JetPack versions |
| An agent with a relay, which is how PhysicalFleet works | Tens to thousands of units, behind any network | An account with the provider. It does not flash modules: you still build and flash the image |
Teams outgrow the spreadsheet at the first customer site, when units stop being reachable from the office. Below: build the image the NVIDIA way, then hand identity, inventory and access to PhysicalFleet.
Step 1: Decide what is fixed at flash time
Some choices can only change by reflashing every unit, which on a deployed fleet means a site visit or an image-based OTA. Make them once, before the first batch:
| Decision | Why it is fixed | How to check a unit |
|---|---|---|
| JetPack line: 6.2.x (Jetson Linux 36, Ubuntu 22.04) or 7.2.x (Jetson Linux 39, Ubuntu 24.04) | apt cannot cross major versions (r36 to r39); NVIDIA documents a reflash or an image-based OTA | cat /etc/nv_tegra_release |
Flash config, such as jetson-orin-nano-devkit-super | MAXN_SUPER exists only on units flashed with a -super config | sudo nvpmodel -q |
| Root filesystem A/B | Enabled by flashing with ROOTFS_AB=1; each slot is half the size the root filesystem would have without it | sudo nvbootctrl -t rootfs dump-slots-info |
| Boot media: NVMe, eMMC or USB | Set by the flash command and partition layout | findmnt / |
| Hardware revision per batch | A massflash package is built for one module and revision | tr '\0' '\n' < /proc/device-tree/compatible |
Pick the line per product, not per unit. As of December 2026 the latest are JetPack 7.2.2 (Jetson Linux 39.2.2, an apt update on top of the 7.2.1 image) and JetPack 6.2.3 (Jetson Linux 36.5.2).
Step 2: Build the golden image on the flashing host
A golden image is the BSP plus a root filesystem with your packages, users and settings, prepared once on the host and flashed to every unit. Start from NVIDIA's sample root filesystem:
tar xf Jetson_Linux_<version>_aarch64.tbz2
sudo tar xpf Tegra_Linux_Sample-Root-Filesystem_<version>_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra/
sudo ./tools/l4t_flash_prerequisites.sh
sudo ./apply_binaries.shOn Jetson Linux 39 you can also generate a smaller root filesystem with nv_build_samplefs.sh in the desktop, minimal or basic flavor. A robot rarely needs the desktop, and the memory it would use is memory the GPU shares.
Skip the first-boot wizard. With no default user, a fresh Jetson runs NVIDIA's OOBE: GNOME Initial Setup on a display, or oem-config as a text interface over the flashing port when headless. A unit in a robot has nobody to answer it, so create the default user on the host before you flash:
sudo ./tools/l4t_create_default_user.sh -u robot -p '<long-random-password>' -n amr-template --accept-licenseOptions from NVIDIA's guide: -u sets the user (default nvidia), -p the password (random if left out), -n the hostname (default tegra-ubuntu). The password lands in your shell history and in ps, so generate it into a variable (pw=$(openssl rand -base64 18)) on a build host nobody else shares. -a turns on automatic login and --accept-license accepts NVIDIA's EULA without a prompt. Two traps: every unit now shares that password, so treat it as a fleet secret and prefer SSH keys; and every unit shares that hostname, which Step 3 fixes.
Step 3: Make every unit unique on first boot
Flashing copies the image byte for byte, so anything the image carries is identical on every unit. Four things matter:
/etc/machine-id, which systemd, the journal and D-Bus use as the machine's identity. An NVIDIA forum report on Jetson Linux 36.4.3 found the same ID on Orin NX units after initrd flashing, and NVIDIA's CVE-2026-24148 (fixed in Jetson Linux 36.5 and 35.6.4) concerns devices sharing a machine ID. systemd's documentation says a boot counts as a first boot only when the file is missing or contains the worduninitialized; an empty file does not.- SSH host keys. If the image came from a unit that already booted, every unit answers with the same key, and one leaked key impersonates all of them.
- The hostname:
amr-template, ortegra-ubuntuby default. - Secrets you added: tokens and keys, readable by anyone who can read the image.
Clear the first two in the root filesystem before flashing, and regenerate on each unit's first boot:
# on the flashing host, inside Linux_for_Tegra
sudo rm -f rootfs/etc/machine-id rootfs/var/lib/dbus/machine-id
sudo rm -f rootfs/etc/ssh/ssh_host_*
# rootfs/usr/local/sbin/firstboot-identity (chmod 755)
#!/bin/sh
ssh-keygen -A
name="amr-$(tr -d '\0' < /sys/firmware/devicetree/base/serial-number)"
echo "$name" > /etc/hostname
hostname "$name"
sed -i "s/^127\.0\.1\.1.*/127.0.1.1\t$name/" /etc/hosts
# rootfs/etc/systemd/system/firstboot-identity.service
[Unit]
Description=Per-unit hostname and SSH host keys
ConditionFirstBoot=yes
DefaultDependencies=no
After=local-fs.target
Before=network-pre.target ssh.service ssh.socket sysinit.target
Conflicts=shutdown.target
Before=shutdown.target
Wants=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/firstboot-identity
[Install]
WantedBy=multi-user.target
# enable it inside the image
sudo ln -s /etc/systemd/system/firstboot-identity.service \
rootfs/etc/systemd/system/multi-user.target.wants/firstboot-identity.serviceA missing machine ID (or one that holds the word uninitialized) is what makes systemd treat the boot as a first boot and run units with ConditionFirstBoot=yes. An empty file does not: systemd still generates an ID, but it does not run those units. Test the image once on a bench unit and read systemctl status firstboot-identity and journalctl -b -u firstboot-identity before you flash a batch; also check systemctl cat systemd-firstboot, because a real first boot may run it and it can prompt on the console. ssh-keygen -A creates the host keys you removed, before the SSH server starts. The script writes the hostname to files instead of calling hostnamectl, because it runs before the network and D-Bus are up. The serial number in the device tree is one stable per-unit value; check that it is populated on your module and carrier, or use a MAC address.
Check it on two units flashed from the same image: cat /etc/machine-id, ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub and hostname must all differ.
Step 4: Mass flash the units
How initrd flashing works: a unit in Force Recovery Mode takes a small kernel and initrd from the host over USB, boots it, brings up a network over the cable, and the host writes the partitions over that link. A flaky cable, a busy hub or a host firewall breaks it halfway. Massflash does this for several units in parallel from one package.
# Jetson Linux 39 (JetPack 7.2.x), from Linux_for_Tegra
# 1. build the package once; 5 is the most units flashed at once (NVIDIA's example, the default is 10)
sudo ./l4t_initrd_flash.sh --no-flash --massflash 5 <board> internal
# offline: prefix with BOARDID=<boardid> FAB=<fab> BOARDSKU=<boardsku> BOARDREV=<boardrev> CHIP_SKU="00:00:00:xx"
# 2. put every connected unit in recovery mode, then flash them together
sudo ionice -c 1 -n 0 ./l4t_initrd_flash.sh --flash-only --massflash 5 <board> internal
# with A/B root filesystems (Orin Nano and NX example)
sudo ROOTFS_AB=1 ./l4t_initrd_flash.sh jetson-orin-nano-devkit internal# Jetson Linux 36 (JetPack 6.2.x): the script lives in tools/kernel_flash and uses the USB network option
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --network usb0 --massflash 5 <board> <rootdev>
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --network usb0 --massflash 5- The number after
--massflashis the most units at once; fewer may be connected. All need the same module and hardware revision, so mixed SKUs need a package each. - Both guides document
--keep(keep the flash environment) and--reuse(reuse it on the next run), and--showlogs, which opens a log window per unit. The Jetson Linux 36 guide also asks you to allowfc00:1:1::/48on the host. - Check that a unit is in recovery mode with
lsusb: it showsID 0955:<id> Nvidia Corp.(IDs in the table below). NVIDIA's Orin Nano guide also documentssudo reboot --force forced-recoveryto enter recovery from software on a unit that still boots.
| Module | Recovery USB ID | Board config (Jetson Linux 39) |
|---|---|---|
| AGX Orin 32GB (P3701-0004) | 7223 | jetson-agx-orin-devkit (for MAXN_SUPER on this module, check NVIDIA's flash configuration list for your release first) |
| AGX Orin 64GB (P3701-0005) | 7023 | jetson-agx-orin-devkit |
| AGX Orin Industrial (P3701-0008) | 7023 | jetson-agx-orin-devkit-industrial |
| Orin NX 16GB / 8GB (P3767-0000 / -0001) | 7323 / 7423 | jetson-orin-nano-devkit or -super |
| Orin Nano 8GB / 4GB (P3767-0003 / -0004) | 7523 / 7623 | jetson-orin-nano-devkit or -super |
| Thor T5000 / T4000 | 7026 / 7226 | jetson-agx-thor-devkit / jetson-agx-thor-t4000 |
For one developer kit rather than a batch, see how to flash a Jetson Orin Nano and booting from NVMe.
Step 5: Put the PhysicalFleet agent in the image
Running an install command on every unit doesn't scale past a bench. Put the agent in the golden image instead, so each unit joins your fleet on its first boot with network.
- Create a key for the batch in Fleet › Enrollment keys › New enrollment key: the group units land in (
production/line-1), tags for module and revision, Max machines set to the batch size, an expiry after the last unit's first boot, and Approve machines before they join if the image could leave your hands. The key inside the image can be read by anyone who can read the image, so revoke it when the run ends; units that joined keep working. - Install into the root filesystem folder on the flashing host, with your batch key's command from the dashboard and
--imagepointing at the image:
# take the install command from your batch key's page in the dashboard and add these options:
--image ./Linux_for_Tegra/rootfs --group production/line-1 --tags orin-nx-16gb,carrier-rev-b,jetpack-6Image mode reads the image's CPU and init system from the image's own files, downloads the arm64 agent, checks its checksum and signature, and enables it for boot. It never starts the agent or enrolls anything on the build machine, so an x86 host building an arm64 image works.
On first boot the agent creates the unit's own private key on the unit, enrolls with the batch key and appears in Fleet in the key's group. Hardware IDs are never used as identity. A unit with no network at the factory joins whenever it first gets one. The machine's name is its hostname at first boot, and clashes get -2, -3: another reason for Step 3.
- Golden disk instead? On the reference unit, clear its
/etc/machine-idand SSH host keys first (Step 3), run the installer with--image / --reset-identityas the last step, power off and copy the disk before it boots with network. An enrolled disk copied anyway joins as a new machine, marked as joined from a cloned disk. - A/B root filesystems or a read-only root? Keep the agent's state on a partition OS updates leave alone, or the unit rejoins as a new machine after an update. The docs in the dashboard list the folders.
- End of line:
sudo pf statusshows the unit connected. With approval on, approve it under Waiting for approval.
Units already in the field join with the command from Fleet › Add machine, run on the host OS (not in a container) with --name, --group and --tags.
Step 6: Organize by location, group, device type and tags
Fleet › Organize has four kinds of names: Locations (where a unit is, a tree such as USA › Ohio › Plant 2), Groups (how you run it, such as acme/plant-2/line-3), Device types (the product model) and Tags (anything a unit can have several of). Renaming or moving a name moves its units with it.
Tag Jetsons by module (orin-nx-16gb), carrier revision, JetPack line (jetpack-6), batch and release ring, so releases and alert rules can target "every Orin NX on JetPack 6 in the pilot ring".
Select rows on Fleet › Machines and use Set group or Add tag to change many units; a unit can set its own with pf device set-group and set-tags unless an admin locked them. The filter bar narrows every fleet page by Location, Group, Tags, Status and More, says N of M machines, and the page address carries it.
Step 7: Keep an inventory and catch version drift
Drift breaks a Jetson fleet quietly: an apt upgrade moves TensorRT on one unit, another runs last quarter's image, a third kept a debug power mode. Same model, different speed, or an engine that won't load.
The do-it-yourself inventory is a loop over SSH:
for h in $(cat jetsons.txt); do
ssh -o ConnectTimeout=5 "$h" '
echo "== $(hostname)"
tr -d "\0" < /proc/device-tree/model; echo
head -1 /etc/nv_tegra_release
cat /sys/class/dmi/id/bios_version # UEFI firmware version
apt show nvidia-jetpack 2>/dev/null | grep ^Version
dpkg-query -W "libnvinfer*" | head -3
sudo -n nvpmodel -q | head -1' || echo "== $h UNREACHABLE"
doneUnits behind NAT print UNREACHABLE and the result is a snapshot nobody reruns. PhysicalFleet keeps the same facts for every unit, including units offline right now:
| You want | On the Jetson | In PhysicalFleet |
|---|---|---|
| Module | /proc/device-tree/compatible | Module in the machine's Hardware › NVIDIA section |
| JetPack and L4T | apt show nvidia-jetpack, /etc/nv_tegra_release | Software, and JetPack version in Debugging › Investigate › Parameters |
| CUDA, TensorRT, cuDNN, VPI, DeepStream | dpkg-query -W per package | A row each in the NVIDIA section, and NVIDIA library versions across the fleet |
| Power mode | sudo nvpmodel -q | Power mode, marked not the default |
| Why it last reset | A reset-reason file whose place differs per module | Last reset, and Unexpected resets across the fleet |
| What changed | /var/log/apt/history.log | The change timeline: packages with the apt command and user, files under /etc, reboots, kernel changes |
In Parameters, JetPack version, NVIDIA library versions and Power mode mark each unit as the same as most of the fleet or different. The change timeline includes changes made while the agent was off, and a diagnosis says when a problem began right after one: started 10 min after a change.
Fix drift with a release: a System packages or Command or script step limited with Runs on to the right tags, tried on one unit, rolled out in phases with automatic rollback. A JetPack major version is a reflash: see upgrading JetPack.
Step 8: Control who can reach which Jetson
A shared SSH key, or a key per person on every unit, fails when someone leaves: you must reach every unit, and nothing records who connected where.
| Control | Where | Effect |
|---|---|---|
| Roles | Settings › Organization › Members | Member sees every dashboard and log. Admin and Owner add machines, change settings, publish releases and open terminals, Ports, live cameras and commands |
| Whole organization | Settings › Organization › Fleet › Remote access | Remote terminal, Remote web access and Live camera view; turning one off ends open sessions within about 10 seconds |
| One unit | Its Overview › Settings | The Remote terminal switch and the Forwarding policy; a unit's settings can turn tools off, never on |
| On the unit, for good | Installer flags --no-terminal, --no-forward, --no-camera | Enforced on the Jetson, so the dashboard can't turn them back on. Put them in the image for units at customer sites that forbid remote shells |
Units connect out over an encrypted connection on port 443 with their own key, which never leaves the unit, and every command is signed for one machine with an expiry. Settings › Organization › Audit Log records keys, approvals, machine settings, organize changes, releases, rollouts, alert rules and every remote session; entries can't be edited or deleted. Removing a person ends their access at once, on every unit.
Step 9: Reflash, quarantine and retire units
| Situation | What to do | What happens |
|---|---|---|
| A unit is reflashed (repair, major JetPack move) | Flash the golden image with the agent in it, or run the install command again | Reflashing wipes the agent and its identity, so the unit joins as a new machine. Remove the old entry with Remove from fleet… |
| You are investigating a unit | Quarantine from its Security tab, Lift when done | It stays connected for reboots and agent updates, but terminals, forwards and streams are cut, it refuses all but a small set of safe commands, and rollouts skip it |
| Sold, lost, stolen or scrapped | ⋯ › Remove from fleet… on its page (owners and admins) | Within seconds PhysicalFleet refuses its connection: no data, no commands, no way into your fleet. It leaves the machine count and stays listed as Decommissioned with its history |
| You keep the hardware, drop the agent | Run the installer with --uninstall, then Remove from fleet… | The agent, its rescue program (the Guardian) and the unit's identity are removed |
| A production run ends | Revoke its key in Fleet › Enrollment keys | No new units join with it; units that joined keep working |
Wipe a retired unit's storage before it leaves your hands: the image may hold your default user's password and app secrets.
Common errors and fixes
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Why: The unit was reflashed and has new SSH host keys, or a different unit now answers at that address (common at 192.168.55.1 over USB).
Fix: Confirm it is the unit you expect, then run ssh-keygen -R <address>. If two different units never trigger it at one address, they share host keys: see Step 3.
Waiting for device to expose ssh ...RTNETLINK answers: File exists
Waiting for device to expose ssh ...TimeoutWhy: RTNETLINK answers: File exists on its own is harmless and often appears before a flash that succeeds. Only the final Timeout means the host never reached the flash initrd over the USB network: a flaky cable or hub, a host firewall, or a package built for another module.
Fix: Use a short direct cable, allow fc00:1:1::/48 on the host, check the board config matches the module lsusb shows, and rebuild the package for that module.
Flash complete (WITH FAILURES)Why: At least one unit in the massflash batch failed. Mixed SKUs or revisions are a common cause; duplicate NFS export entries and a unit that had not finished booting are others.
Fix: Run again with --showlogs and read the per-unit log. Then put only the failed units back in recovery mode and rerun --flash-only --massflash. Build one package per SKU.
NvRmMemInitNvmap failed with Permission deniedWhy: A process used the GPU as a user outside the video group, which on Jetson is required for GPU access. It bites the service user you created in the image.
Fix: sudo usermod -a -G video <username> in the image or on the unit, then restart the service.
This machine is waiting for approvalWhy: The enrollment key has Approve machines before they join on.
Fix: An owner or admin approves it under Waiting for approval in Fleet. A late approval still works.
- JetPack line, flash config, A/B root filesystem and boot media chosen once per product
- Golden image with a default user created on the host, so no unit stops at oem-config
- No machine ID file, no SSH host keys and a first-boot unit that sets a per-unit hostname
- One massflash package per module SKU and hardware revision
- Agent built into the image with a batch enrollment key that has a limit, an expiry and approval
- Locations, groups, device types and a tag vocabulary for module, carrier, JetPack line and batch
- JetPack, NVIDIA library and power-mode drift checked in Parameters, and fixed with releases
- Remote tools limited to owners and admins, and retired units removed from the fleet the same day
PhysicalFleet takes over where NVIDIA's flash tools stop. Built into your golden image, the agent makes every Jetson join on its first boot as its own machine, with its own key, in the group and tags of the batch, whether that happens at the factory or weeks later at a customer site. From then on Fleet, Fleet › Organize and the filter bar show where each unit is, and the NVIDIA section and Investigate › Parameters show its module, JetPack and L4T, NVIDIA library versions, power mode and last reset, marking the units that differ from the rest.
Access is by role, remote sessions go over each unit's outbound connection with commands signed per machine, and the audit log records who did what on which robot. When a unit is sold, lost or broken, Remove from fleet… cuts it off in seconds and keeps its history. It is free for up to 3 machines.
See fleet management- NVIDIA Jetson Linux r39.2.2: Advanced Flashing Features (mass flash, flash later, ROOTFS_AB)
- NVIDIA Jetson Linux r36.5.2: Flashing Support (mass flash on Jetson Linux 36)
- NVIDIA Jetson Linux r39.2.2: OOBE and l4t_create_default_user.sh
- NVIDIA Jetson Linux r39.2.2: Quick Start (host setup, recovery mode, USB IDs)
- NVIDIA Jetson Linux r39.2.2: Root File System (sample rootfs flavors, redundancy)
- systemd: machine-id(5)
Written for PhysicalFleet as of December 5, 2026.
How do I flash many Jetson modules at once?
Build a package once with l4t_initrd_flash.sh --no-flash --massflash and a unit count, put identical units in recovery mode, then run --flash-only --massflash. A batch needs one module and hardware revision.
How do I skip oem-config on a Jetson?
Run l4t_create_default_user.sh on the flashing host before flashing. It creates the default user and hostname and, with --accept-license, accepts NVIDIA's license, so units skip the first-boot wizard.
Why do my cloned Jetsons have the same machine ID?
Flashing a copied root filesystem copies /etc/machine-id. Ship the image with the file removed (not empty), so systemd treats the first boot as a first boot, generates a new ID on each unit and runs your first-boot unit to regenerate SSH host keys.
How do I give each Jetson a unique hostname at first boot?
Add a systemd unit with ConditionFirstBoot=yes that sets the hostname from the device-tree serial number or a MAC address. A missing machine ID marks the first boot, so it runs once.
How can I see which Jetsons run a different JetPack or TensorRT version?
On one unit, read /etc/nv_tegra_release and apt show nvidia-jetpack. PhysicalFleet's Debugging, Investigate, Parameters marks each unit's JetPack, NVIDIA library versions and power mode as the same as most of the fleet or different.
Does reflashing a Jetson remove it from PhysicalFleet?
Reflashing wipes the agent and its identity, so the unit returns as a new machine from your image or the install command. Remove the old entry with Remove from fleet.
Can PhysicalFleet flash or reflash Jetson modules?
No. Flashing needs USB and recovery mode, so you flash with NVIDIA's tools. PhysicalFleet goes into the image and handles identity, inventory, access and updates above the OS.
- Raspberry Pi remotely
- Jetson Orin remote access
- Robot web UI remotely
- Robot camera remotely
- Update many devices
- Logs on remote devices
- ROS 2 remotely
- Offline alerts
- Jetson remote update
- Jetson remote desktop
- Jetson camera remotely
- Jetson remote monitoring
- Docker on many Jetsons
- TensorRT on many Jetsons
- Jetson remote debugging
- Jetson reboot and recovery
- SO-101 remotely
- All how-to guides →
From the lab bench. To the entire fleet.
Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go