NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →
NVIDIA Jetson · Run in production

Jetson security hardening checklist: how to secure an NVIDIA Jetson

Start with what an attacker reaches first: replace the shared default user, allow SSH with keys only (PasswordAuthentication no, PermitRootLogin no, checked with sudo sshd -T), close every port that sudo ss -tulpn shows you don't need with ufw, and disable the desktop, USB device mode and services a robot doesn't use. Keep Ubuntu and NVIDIA's Jetson Linux packages patched against NVIDIA's security bulletins. For a shipping product, add Secure Boot and disk encryption, knowing that Secure Boot burns fuses and can't be undone.

Applies to Orin Nano, Orin NX, AGX Orin (Thor where noted) · JetPack 6.2.x (Jetson Linux 36.x) and 7.2.x (Jetson Linux 39.x)Checked December 6, 2026

What you need

  • A Jetson running JetPack 6.2.x or 7.2.x, with sudo. As of December 2026 the latest releases are JetPack 6.2.3 (Jetson Linux 36.5.2, Ubuntu 22.04) and JetPack 7.2.2 (Jetson Linux 39.2.2, Ubuntu 24.04). cat /etc/nv_tegra_release tells you which you have.
  • A way back in that doesn't depend on SSH before you change SSH or the firewall: a monitor and keyboard, or a USB-to-serial cable on the carrier's debug UART. Several steps below can lock you out if done in the wrong order.
  • An x86_64 Ubuntu host with the Jetson Linux BSP, only for the hardware steps (Secure Boot, disk encryption), which are done at flash time.
  • A spare module if you plan to try Secure Boot. Burning fuses is permanent.

Everything up to the hardware section works on a running Jetson and is reversible. Do it on one unit, check it, then bake it into the image you flash to every unit.

The threat model of a Jetson in the field

A Jetson inside a robot at a customer site faces different attackers than one on your desk, and each control costs something, so decide which you defend against:

  • Someone on the same network: the customer's Wi-Fi, a shared warehouse network, a trade-show hotel. They reach every port the Jetson listens on. The most likely attacker, and the cheapest to stop: accounts, SSH, firewall, services.
  • Someone with the robot in their hands for a few minutes. On a stock Jetson they can put the module in recovery mode and boot their own code over USB, or pull the NVMe SSD or microSD card and read it on a laptop. Software settings don't stop this; only Secure Boot and disk encryption do.
  • Your own fleet as the attack surface. If every unit ships with the same user and password, the same SSH host keys or the same API token baked into the image, one leaked unit opens all of them.
  • Your own software. A container running with --privileged, a dependency with a known vulnerability, a web UI listening on all interfaces.

Robots add two twists. A hardening change that breaks remote access means a site visit, so the order of steps below matters. And a compromised robot can move, so the bar is higher than for a server that only holds data.

The checklist, in priority order

Do the first group on every Jetson that leaves your desk. The second group is for anything deployed. The third is for products, and needs planning before your first production flash.

ControlCommand or settingWhat it protectsEffort
1. Every deployed Jetson (an afternoon)
Replace the shared default usersudo adduser, sudo passwd -l <old>, no autologinOne leaked password opening every unitLow
SSH with keys onlyPasswordAuthentication no, KbdInteractiveAuthentication no, PermitRootLogin no; check with sudo sshd -TPassword guessing, brute forceLow
Know what listenssudo ss -tulpnServices you didn't know were exposedLow
Firewallufw default deny incoming, then ufw limit SSH from your own network onlyNetwork access to everything elseLow
Headless, fewer servicessystemctl set-default multi-user.target; disable avahi, rpcbind, remote desktop, crash reportersAttack surface (and memory)Low
Security updatesunattended-upgrades for Ubuntu; NVIDIA packages updated deliberatelyKnown vulnerabilitiesMedium
2. Anything in the field (a day or two)
USB device mode offsystemctl disable --now nv-l4t-usb-device-mode.serviceA network interface and console on the USB-C portLow
Serial consoles reviewedsystemctl list-units 'serial-getty@*'; UART not reachable from outside the enclosureConsole access with a cableLow
Docker hygieneNo --privileged, no Docker socket in containers, ports bound to 127.0.0.1A container compromise becoming root on the hostMedium
Secrets per deviceUnique credentials, files mode 600, systemd LoadCredential=One unit's secrets opening the whole fleetMedium
Logs and auditPersistent journald with a size cap, auditd watches, logs shipped off the deviceNot knowing what happenedMedium
Patch against bulletinsCompare /etc/nv_tegra_release with NVIDIA's Jetson security bulletinsKernel, bootloader and driver vulnerabilitiesMedium
Lock the UEFI menuAuto Boot Time-out 0, a UEFI Device Manager passwordKernel command-line changes by someone at the consoleLow
3. Products (weeks, planned before production)
Secure BootPKC (and optionally SBK) fuses, signed flashing, UEFI Secure BootBooting someone else's code, reflashing in recovery modeHigh, irreversible
Disk encryptionROOTFS_ENC=1 with a per-device key from OP-TEEReading the SSD or SD card after removing itHigh (needs the OEM_K1 fuse for real protection)
Firmware TPMfTPM in OP-TEE, provisioned at manufacturingDevice identity and measured boot for attestationHigh

Step 1: Replace the default user

A Jetson gets its first user either from oem-config at first boot (on a screen, or over the serial console when headless) or from l4t_create_default_user.sh, run on the host before flashing, which skips oem-config. The script's default user is nvidia, and its -a option turns on automatic login. Teams use it to build golden images, and that is the risk: every unit flashed from the image has the same username and password and, with -a, a desktop that logs in by itself for anyone who plugs in a screen. Fix it in the image, or per unit:

# who can log in, and who can sudo
awk -F: '$7 ~ /(bash|sh)$/ {print $1}' /etc/passwd
getent group sudo
sudo grep -r NOPASSWD /etc/sudoers /etc/sudoers.d/

# create the account your team uses
sudo adduser ops
sudo usermod -aG sudo ops

# in a NEW session, prove ops can log in and use sudo before you lock anything
ssh -t ops@<jetson-ip> 'sudo -v && echo sudo OK'     # -t gives sudo a terminal for the password prompt

# then lock the shared account's password
sudo passwd -l nvidia            # SSH keys still work for it; passwords and sudo don't

# turn off desktop autologin if it was enabled: set AutomaticLoginEnable=false
grep -i AutomaticLogin /etc/gdm3/custom.conf

Lock the shared password only after the new account works: if you are logged in as nvidia and it is your only sudo account, locking its password also takes away your sudo. If a unit must keep a local password (for a console in an emergency), make it unique per unit and keep it in your password manager against the serial number. Don't delete the original user until you know nothing on the image (services, file ownership, udev rules) depends on it.

Step 2: SSH with keys only, and check what sshd actually uses

Password logins are what bots on a shared network try first. Keys remove the whole class. Do it in this order so you can't lock yourself out:

# on your laptop: create a key (Ubuntu's docs recommend ed25519) and install it
ssh-keygen -t ed25519
ssh-copy-id ops@<jetson-ip>
ssh ops@<jetson-ip>               # must log in without a password prompt

Now, with that session still open, turn passwords off. Ubuntu's sshd_config includes /etc/ssh/sshd_config.d/*.conf at the top, and sshd uses the first value it reads for each keyword. So a drop-in file wins over the main file, and among drop-ins the one that sorts first wins. Name yours so it sorts early:

sudo tee /etc/ssh/sshd_config.d/00-hardening.conf >/dev/null <<'EOF'
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin no
AllowUsers ops
EOF

sudo sshd -t && sudo sshd -T | grep -Ei '^(passwordauthentication|kbdinteractiveauthentication|permitrootlogin|allowusers)'
# sshd -t prints nothing when the syntax is fine. Restart only if the values above are what you expect:
sudo systemctl restart ssh

sshd -T prints the configuration sshd will really use after every include, the only reliable answer when files disagree. Expect passwordauthentication no, kbdinteractiveauthentication no and permitrootlogin no. Then open a second terminal and log in again before closing the first. Also try a password login from the laptop (ssh -o PubkeyAuthentication=no ops@<jetson-ip>): it should fail with Permission denied (publickey). AllowUsers shuts out every account it doesn't name, nvidia included, so list every account that must log in, your automation's too.

Host keys in a golden image. SSH host keys are generated once, so every unit flashed from the same image shares them, and anyone with one unit can impersonate the others. Remove /etc/ssh/ssh_host_* from the image and generate them on each unit's first boot with ssh-keygen -A (it creates any missing host keys), from a oneshot service ordered before ssh.service. Don't delete the keys on a unit you still reach over SSH: sshd won't start without them.

Step 3: See what is listening, then put up a firewall

Don't harden from a list someone else wrote: what a Jetson listens on depends on the JetPack release, whether it runs the desktop image, and what you installed. Ask it:

sudo ss -tulpn

The local address is what matters: 127.0.0.1 or [::1] is reachable only from the Jetson itself; 0.0.0.0, [::] or * is reachable from every network the Jetson is on, Wi-Fi and the USB device-mode link included. For each line decide: needed from outside (SSH, your robot's API), needed only locally (rebind it to 127.0.0.1), or not needed (Step 4).

Ubuntu's firewall front end is ufw. It starts disabled, and it may not be installed on a Jetson image at all:

echo $SSH_CLIENT                  # the address you are connecting from: it must be inside the rule below
sudo apt install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw limit proto tcp from 192.168.1.0/24 to any port 22   # your network only, rate-limited
sudo ufw show added               # check the SSH rule is there
sudo ufw enable
sudo ufw status verbose

Add the SSH rule before ufw enable, and use your own subnet: if you reach the Jetson over its USB link (192.168.55.x) or a VPN, that range must be allowed too. Over SSH, ufw warns that the command may disrupt existing connections; with the rule in place, your session survives. limit is an allow rule that denies an address after 6 or more connection attempts within 30 seconds. Don't add a bare ufw limit ssh/tcp next to it, as many guides do: that rule allows SSH from anywhere and undoes the subnet restriction.

JetPack 7.2 on Orin: test ufw with a console attached. On an AGX Orin with JetPack 7.2, a user on NVIDIA's forum reported ufw enable failing and the SSH session dropping even though port 22 was allowed (see the ufw-init error below). The thread has no fix from NVIDIA. Enable ufw the first time with a keyboard or serial console at hand, and bake it into your image only after a reboot test.

ROS 2 and multicast. DDS discovery uses UDP multicast. If your robot talks ROS 2 to other machines, allow it from the robot's network only: sudo ufw allow in proto udp from 192.168.1.0/24 to 224.0.0.0/4, plus the unicast traffic between the hosts. See installing ROS 2 on a Jetson for how discovery works.

Docker bypasses ufw. Per Docker's documentation, traffic to a published container port is diverted in the nat table before it reaches the chains ufw uses. A container started with -p 8080:8080 is reachable from the network even with ufw default deny incoming. Publish to localhost (-p 127.0.0.1:8080:8080) unless the port must be reachable.

Step 4: Turn off what a robot doesn't use

JetPack's default root filesystem is the desktop flavor, built for a developer kit on a desk. Its package list in the BSP (tools/samplefs/nvubuntu-jammy-desktop-aarch64-packages on JetPack 6) includes, among about 2,000 others, gdm3 (the login screen), gnome-remote-desktop, avahi-daemon (mDNS, announces the device on the local network), rpcbind, whoopsie and apport (crash reporting), modemmanager and bluez. A robot needs few of them, and each running service is code an attacker can reach and memory your models can't use, since the Jetson's CPU and GPU share one memory.

# what is running and what starts at boot
systemctl list-units --type=service --state=running
systemctl list-unit-files --state=enabled

# boot to a console instead of the desktop (undo: graphical.target)
sudo systemctl set-default multi-user.target

# disable what you don't use; check each name exists on your image first
sudo systemctl disable --now avahi-daemon.service avahi-daemon.socket   # stops answering jetson.local: use the IP address afterwards
sudo systemctl disable --now rpcbind.service rpcbind.socket
sudo systemctl disable --now whoopsie.service apport.service
sudo systemctl disable --now ModemManager.service     # only if there is no cellular modem
sudo systemctl disable --now bluetooth.service        # only if nothing uses Bluetooth

Remove any VNC or remote-desktop server you installed while developing. NVIDIA's own Jetson VNC tutorial sets up Vino with require-encryption false, a password stored base64-encoded in gsettings, and automatic login: fine on a desk, not in the field. Run sudo ss -tulpn again afterwards; you should be able to explain every line. Better than disabling services one by one, build production images from NVIDIA's minimal root filesystem flavor (nv_build_samplefs.sh --flavor minimal), which NVIDIA describes as having no GUI and no OEM configuration, so you create the user before flashing with l4t_create_default_user.sh.

Step 5: Close the USB and serial back doors

Two ways into a Jetson need only a cable, and both are on by default because they are useful on a desk.

USB device mode. On a developer kit, the USB-C port used for flashing also acts as a USB gadget when the Jetson is running: a laptop plugged into it gets a network interface with the Jetson at 192.168.55.1, and a serial console. The service behind it is nv-l4t-usb-device-mode.service, and on stock images a login prompt runs on the gadget serial port, serial-getty@ttyGS0.service (systemctl list-units 'serial-getty@*' shows it). For a device in the field, turn both off, but not over the USB link itself: run this over Wi-Fi, Ethernet or the debug console, or you cut your own session.

sudo systemctl disable --now nv-l4t-usb-device-mode.service
sudo systemctl disable --now serial-getty@ttyGS0.service
systemctl is-enabled nv-l4t-usb-device-mode.service    # disabled

Disabling device mode doesn't disable recovery mode, which lives in the chip's BootROM, not in Linux. With a cable and access to the recovery button or pins, someone can still put a stock Jetson in recovery and flash it. Only Secure Boot changes that (see below).

Debug UART. The carrier's debug UART carries the kernel console (cat /proc/cmdline shows console=ttyTCU0,115200) and boot messages, and the UEFI menu during boot. systemctl list-units 'serial-getty@*' shows which serial ports offer a login prompt. Keep the UART for your own technicians, but make sure it isn't wired to a connector reachable from outside the enclosure, and that the accounts it can log into have strong, unique passwords or none.

Step 6: Keep Ubuntu and Jetson Linux patched, without breaking the Jetson

A Jetson gets software from two places, and they need different handling. Ubuntu's archive provides the user space: OpenSSL, sudo, Python, the libraries your apps load. NVIDIA's apt repository (repo.download.nvidia.com/jetson, configured in /etc/apt/sources.list.d/nvidia-l4t-apt-source.list) provides the kernel, bootloader and driver packages, named nvidia-l4t-*, plus CUDA, TensorRT and the rest of JetPack. The kernel is NVIDIA's, so Ubuntu's kernel security updates don't apply to a Jetson; kernel fixes come from NVIDIA.

For the Ubuntu side, unattended-upgrades installs security updates daily. Ubuntu Server ships it, but a Jetson image may not:

dpkg -l unattended-upgrades || sudo apt install unattended-upgrades
cat /etc/apt/apt.conf.d/20auto-upgrades        # both lines should be "1"
sudo unattended-upgrade -v --dry-run            # see what it would do

Its default Allowed-Origins in /etc/apt/apt.conf.d/50unattended-upgrades lists only Ubuntu's own suites (${distro_id}:${distro_codename}-security and similar), so NVIDIA's repository isn't touched. Keep it that way, and add a guard so a later edit can't change it:

// in /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Package-Blacklist {
    "nvidia-l4t-";
};
Unattended-Upgrade::Automatic-Reboot "false";

Why not let NVIDIA's packages update by themselves? An L4T update can rewrite the bootloader in QSPI, the kernel and the device tree; power loss in the middle, or a carrier board that needs a custom device tree, can leave a unit that doesn't boot. Update L4T on purpose: within your release with sudo apt update and sudo apt upgrade (or dist-upgrade, when NVIDIA's notes for the release say so), which moves you to the newest point release your source line allows, on one unit first, with a reboot and a check, then the rest in waves. Moving from JetPack 6 to 7 isn't supported through apt (see how to upgrade JetPack). Leave Automatic-Reboot off on robots: a reboot in the middle of a task can be a safety problem.

NVIDIA's security bulletins. NVIDIA publishes Jetson vulnerabilities on its Product Security page, each listing the affected releases and the release that fixes them. When one appears, compare it with cat /etc/nv_tegra_release on your units. As of December 2026, NVIDIA's latest Jetson bulletin (November 2026) is fixed in Jetson Linux 36.5.2 and 39.2.1 or newer (35.6.5 on JetPack 5). A unit on 36.4.x doesn't get there with apt upgrade alone: change r36.4 to r36.5 in both lines of the source list, then sudo apt update && sudo apt dist-upgrade. Thor units still on Jetson Linux 38.x have no fix in that bulletin; they need 39.2.1 or newer. Many Jetson fixes are in the bootloader or need physical access, so read which component is affected before deciding how fast to roll it out.

Step 7: Docker without handing out root

Most Jetson AI workloads run in containers. Containers are a boundary only if you don't punch holes in them:

  • The docker group is root. Docker's own docs say membership grants root-level privileges, because anyone who can talk to the daemon can start a container that mounts /. Add only admin accounts, never the account a network-facing app runs as.
  • Never mount /var/run/docker.sock into a container unless that container is meant to control the host. A web UI with the socket mounted is a root shell with extra steps.
  • Avoid --privileged. It gives the container every device and capability. The GPU doesn't need it: --runtime nvidia gives GPU access. Pass the specific devices a container needs (--device /dev/video0, --device /dev/ttyUSB0).
  • Run as a non-root user inside (--user or USER in the Dockerfile), mount the root filesystem read-only where you can (--read-only), and mount data and secrets read-only.
  • Publish ports to 127.0.0.1 unless they must be reachable (published ports bypass ufw, Step 3).
  • Pin image digests in production and pull images only from registries you control, so a re-pushed tag can't change what a robot runs.

Step 8: Secrets, logs and an audit trail

Secrets. Give every unit its own credentials for your cloud, broker or registry, so you can revoke one robot alone, and never bake a shared token into the image. Store secrets in files owned by the service user with mode 600, outside your app's directory, and pass them to services with systemd's LoadCredential= (the service reads them from $CREDENTIALS_DIRECTORY) rather than environment variables, which show up in process listings and crash reports. Without disk encryption, anyone who removes the SSD can read these files, which is the strongest argument for the hardware section below.

Logs that survive and don't fill the disk. journald keeps logs across reboots when /var/log/journal exists. Cap it, because a 64GB SD card full of logs stops the robot as surely as an attacker:

journalctl --disk-usage
sudo mkdir -p /etc/systemd/journald.conf.d
printf '[Journal]\nStorage=persistent\nSystemMaxUse=500M\n' | sudo tee /etc/systemd/journald.conf.d/size.conf
sudo systemctl restart systemd-journald

Audit the files attackers change. auditd records who changed what:

sudo apt install auditd
sudo tee /etc/audit/rules.d/hardening.rules >/dev/null <<'EOF'
-w /etc/ssh/sshd_config -p wa -k sshd
-w /etc/ssh/sshd_config.d/ -p wa -k sshd
-w /etc/sudoers -p wa -k sudoers
-w /etc/sudoers.d/ -p wa -k sudoers
-w /etc/passwd -p wa -k accounts
EOF
sudo augenrules --load
sudo auditctl -l
sudo ausearch -k sshd

Local logs have one weakness: an attacker with root can delete them. Ship logs off the device as they are written, so the record of a break-in survives the break-in.

Secure Boot, disk encryption and the fTPM: what they protect

Everything above protects a running system, and does nothing against someone who boots the Jetson into their own code. The Orin boot chain, per NVIDIA's boot architecture docs:

  1. BootROM, code in the chip itself, the root of trust. It loads and authenticates the first boot stages.
  2. MB1 and MB2, NVIDIA's early boot firmware. MB1 is signed and encrypted with an NVIDIA-owned key; MB2 also hands the encrypted key blob (EKB) to OP-TEE.
  3. UEFI, the CPU bootloader stored with the rest of the firmware in the module's QSPI flash.
  4. L4TLauncher, which loads the kernel, device tree and initrd.
  5. The root filesystem on eMMC, NVMe or SD, where Ubuntu, your apps and your secrets live.

On a stock Jetson nothing in this chain checks that the code came from you. Recovery mode makes the BootROM accept a boot image over USB (that is how flashing works), so anyone with a cable and the recovery button can boot their own code and read or replace the storage.

Secure Boot closes the chain. NVIDIA's definition: it "prevents execution of unauthorized boot codes through the chain of trust." Before UEFI, the guarantee comes from fuses: you burn the hash of your public key (PKC; on Orin, RSA 3K, ECDSA P-256 or ECDSA P-521) into the PublicKeyHash fuse, and from then on the boot stages must be signed with your private key. Optionally, a Secure Boot Key (SBK) fuse makes the bootloader components encrypted as well as signed. From UEFI on, UEFI Secure Boot checks what UEFI loads (L4TLauncher, extlinux.conf, the kernel, the device tree and the initrd) against keys you enroll; enabled at flash time, it can't be turned off without flashing again. Flashing a fused unit then needs your keys (sudo ./l4t_initrd_flash.sh -u <pkc_keyfile> [-v <sbk_keyfile>] ..., with the board and storage options from NVIDIA's quick start for your module), and a stranger's image no longer boots. The chain ends at the kernel and initrd: the root filesystem's contents are protected by disk encryption, not by Secure Boot.

Fusing is one-way. NVIDIA: "Fuse burning operations are high-risk because they cannot be reversed." A fuse bit set to 1 can't go back to 0. Fuses burned in the wrong order can leave the module inoperable, and once the SecurityMode (odm_production_mode) fuse is burned, further fuse writes are blocked. Lose the private key and you can never flash that unit again. NVIDIA strongly recommends a dry run with --test first, and its Orin quick start recommends generating three PKC keys "because you can burn keys only once" (all three must be fused for key revocation to work). The tools differ by module and release: odmfuse.sh (deprecated, AGX Orin only in 39.2) or the Factory Secure Key Provisioning tool fskp_fuseburn.py, so follow the Developer Guide for your exact Jetson Linux version.

The real cost is the process around the command: keys in an HSM or at least offline with access control, a signing step in your build, a factory flow for fusing every unit, a plan for RMA units, and fused developer kits that can't take stock images any more. Plan it before your first production run, and practice on a spare module.

Disk encryption keeps the root filesystem (and optionally the user data partition) unreadable when the storage is removed. Jetson Linux uses standard LUKS. The key is per device: in the secure world, OP-TEE derives it from the disk encryption key in the EKB and the chip's unique ID (ECID), and the luks-srv trusted application turns it into the passphrase. The initrd opens the disk at boot with no password, then tells luks-srv to stop answering until the next reboot. A drive moved to another unit or a laptop stays encrypted. You enable it at flash time (for example sudo ROOTFS_ENC=1 ./flash.sh -i "./disk_enc.key" jetson-agx-orin-devkit internal, or l4t_initrd_flash.sh with an encrypted NVMe layout on Orin NX and Nano). Three things to know:

  • It depends on the fuses. The EKB is protected with a fuse key, and NVIDIA recommends the OEM_K1 fuse. On a unit where that fuse isn't burned, OP-TEE uses a pre-defined hard-coded key, which is fine for testing and no protection at all against someone who knows that key. Real disk encryption means Secure Boot fusing.
  • Don't ship the sample keys. NVIDIA's example keys are for testing; generate your own EKB with gen_ekb.py.
  • It doesn't protect a running system. NVIDIA's threat model says so: not against a vulnerable daemon, not against stolen login credentials. That is what Steps 1 to 8 are for.

Secure Boot plus encryption is not the end of it. In September 2026 the security firm ONEKEY published a Secure Boot bypass for Jetson Linux. With physical access, an attacker writes a crafted file to the unencrypted boot partition, then uses the UEFI menu (Device Manager › NVIDIA Configuration › L4T Configuration, "Append to Kernel Command Line") to point the kernel at it. NVIDIA's own initrd then runs the injected command before luks-srv shuts down, which gives a root shell and the LUKS passphrase. Secure Boot didn't stop it because the code that ran was NVIDIA's own. The advisory lists 35.6.4, 36.5.0, 38.2.x, 38.4.0 and 39.2.0 as affected and 35.6.5, 36.5.2 and 39.2.1 as fixed, the same releases NVIDIA's November 2026 bulletin names. Its mitigations, worth doing on any fielded unit: update to a fixed release; set Auto Boot Time-out to 0 in the Boot Maintenance Manager and set a password under Device Manager › User Password Management; and on higher-risk products burn OemK1 and ideally SecurityMode, so the EKB can't be replaced. Physical security is layers, and the layers need patching too.

Firmware TPM (fTPM). OP-TEE, the small OS in the Arm TrustZone secure world that runs disk encryption's key service, also hosts a TPM. Supported on Orin Nano, Orin NX and AGX Orin, and on AGX Thor from Jetson Linux 38.4. It is a TPM 2.0 built on the TCG reference implementation. Each boot stage measures the next into its PCRs (measured boot), and endorsement key certificates provisioned per device give each unit a hardware-backed identity it can prove to your backend (attestation). It depends on Secure Boot, needs a per-device secret in the KDK0 fuse, is turned on by rebuilding the trusted OS image with fTPM, and its certificates are provisioned offline at manufacturing. It is a manufacturing project, not a setting.

FeatureStopsRequiresReversible?
Secure Boot (PKC, optional SBK)Booting or flashing unsigned code, including through recovery modeYour keys, fuse burning, signed flashingNo
UEFI Secure BootUnsigned L4TLauncher, kernel, device tree, initrdUEFI keys enrolled at flashOnly by flashing again (which, on a fused unit, needs your keys)
Disk encryption (LUKS)Reading removed storageOP-TEE, your EKB, the OEM_K1 fuse for real protectionReflash without it
fTPMUnverifiable device identity; undetected boot changes (with attestation)Secure Boot chain, KDK0 fuse, factory provisioningFuses: no
Rollback protection (ratcheting)Downgrading to older, vulnerable firmwareSoftware version numbers in your images; for the earliest boot stages the hardware version lives in fusesFuse bits: no

Check that it worked

Run these after hardening, and again on a unit flashed from your image, because a golden image is only as good as what it actually contains:

sudo sshd -T | grep -Ei '^(passwordauthentication|kbdinteractiveauthentication|permitrootlogin)'
# passwordauthentication no / kbdinteractiveauthentication no / permitrootlogin no

sudo ufw status verbose            # Status: active, Default: deny (incoming)
sudo ss -tulpn                     # every 0.0.0.0 / [::] line explained
systemctl get-default              # multi-user.target
systemctl is-enabled nv-l4t-usb-device-mode.service     # disabled
sudo passwd -S nvidia              # L (locked) for a shared account
journalctl --disk-usage
sudo auditctl -l
cat /etc/nv_tegra_release          # compare with NVIDIA's latest bulletin
apt list --upgradable
sudo docker ps --format '{{.Names}} {{.Ports}}'      # published ports

And test from the outside, because that is the view an attacker has: from another machine on the same network, a password login must fail, and a port scan of the Jetson should show only what you meant to expose.

Hardening a fleet of Jetsons

We've managed hundreds of thousands of Linux devices in the field. Hardening one Jetson is an afternoon; fleets go wrong through drift, shared secrets and devices nobody can reach. What changes:

  • Harden the image, not the unit. Apply Steps 1 to 8 in the golden image, remove SSH host keys and credentials before capturing it, and generate per-unit identity on first boot.
  • Verify, don't assume. A technician fixing a robot on site re-enables password login or opens a port, and it never gets undone. Check the controls continuously on every unit, not once at the factory.
  • Per-device credentials and revocation. When a robot is lost, stolen or returned, revoke that unit's keys without touching the rest.
  • Patch in waves. One unit, then a small group, then everyone, with a health check between waves and a way back, so a bad update reaches a few robots, not all of them. Keep every unit on the same Jetson Linux release.
  • Watch for the signs. New logins from addresses never seen, brute-force attempts, unexpected sudo, a new USB device, a new listening port, a new kernel module, a changed sshd_config. On one Jetson you read logs; on a fleet you need alerts.
  • Remote access that doesn't widen the attack surface. Opening SSH to the internet or putting every robot on a flat VPN undoes Step 3. Prefer access that the robot initiates outbound, with per-session authentication and an audit trail of who connected to which robot.

Common errors and fixes

The messages below are copied the way they appear, so you can find yours with Ctrl+F.

ops@192.168.1.50: Permission denied (publickey).

Why: sshd only accepts keys now and none of the keys your client offered is in ~/.ssh/authorized_keys for that user. Also common: the user isn't in AllowUsers, or sshd ignores the file because the home directory, ~/.ssh or authorized_keys is writable by others.

Fix: Log in through the session you kept open, a local keyboard or the serial console. Check ls -ld ~ ~/.ssh ~/.ssh/authorized_keys (fix with chmod 700 ~/.ssh and chmod 600 ~/.ssh/authorized_keys), check the public key is in the file, and read journalctl -u ssh -n 50 on the Jetson for the reason. Connect with ssh -v to see which keys the client tried.

Command may disrupt existing ssh connections. Proceed with operation (y|n)?

Why: ufw prints this when you run ufw enable over SSH. If there is no rule allowing SSH from where you are, answering y cuts you off once the session ends or the connection drops.

Fix: Answer n, run sudo ufw limit proto tcp from <your-network> to any port 22 with the subnet you connect from (echo $SSH_CLIENT shows your address), check with sudo ufw show added, then enable.

ERROR: problem running ufw-init

Why: ufw couldn't load its rules into the kernel. On JetPack 7.2 on AGX Orin it has been reported with iptables-restore v1.8.10 (nf_tables) lines such as RULE_APPEND failed (No such file or directory): rule in chain ufw-not-local: the iptables rules ufw loads fail on that kernel. The SSH session can drop in the process, and ufw status may still claim to be active.

Fix: From a local or serial console, run sudo ufw disable to get the network back. Don't ship ufw on that release until it passes a reboot test on a unit with console access. Until then, filter with a minimal ruleset you have tested on that exact release, keep Docker ports bound to 127.0.0.1, and rely on Steps 1, 2 and 4 to keep the exposed surface small.

ssh: connect to host 192.168.1.50 port 22: Connection timed out

Why: Packets to port 22 get no answer: ufw was enabled without an SSH rule, the SSH rule is limited to another subnet, or the Jetson's address changed. (Connection refused instead means the host answered but nothing listens on 22.)

Fix: From the console: sudo ufw status numbered, then add the right allow rule, or sudo ufw disable to get in and fix it. Check the address with ip addr.

/etc/ssh/sshd_config.d/00-hardening.conf: line 2: Bad configuration option: PasswordAuthenticaton

Why: A typo in the drop-in. sshd -t reports it, followed by terminating, 1 bad configuration options, and sshd refuses to start with this file, which over SSH means no new logins once the service restarts.

Fix: Always run sudo sshd -t before sudo systemctl restart ssh, fix the line it names, and keep your current session open until a new login works.

Missing privilege separation directory: /run/sshd

Why: On Ubuntu 24.04 (JetPack 7.2), sshd -t can print this when the SSH service isn't running at that moment, because /run/sshd is created by the service unit. It says nothing about your configuration.

Fix: Run sudo mkdir -p /run/sshd and repeat sudo sshd -t, or check the configuration while the service is running. Look at systemctl status ssh.service ssh.socket for the real state.

ERROR: might be timeout in USB write.

Why: Often reported on NVIDIA's forum after fusing an Orin: the flash stops early, typically at Sending mb1, followed by Error: Return value 3. On a fused unit this usually means the BootROM rejected the boot image: flashing without your keys, with the wrong key, or with options that don't match what was burned (for example SBK). Despite the wording, it isn't always a USB problem, though a flaky cable or USB autosuspend on the host can cause it too.

Fix: Flash fused units with the same keys you burned (sudo ./l4t_initrd_flash.sh -u <pkc_keyfile> [-v <sbk_keyfile>] ...; pass -v only if an SBK was burned). Check the module is in recovery mode (lsusb shows an NVIDIA 0955: device), use a short, direct USB cable, and turn off USB autosuspend on the host (echo -1 | sudo tee /sys/module/usbcore/parameters/autosuspend). If the keys are lost, the unit can't be reflashed.

With more than one Jetson

Hardening one Jetson is a checklist; keeping a fleet hardened needs something watching every unit. PhysicalFleet Security runs watchdogs on each machine for logins, brute force, sudo, new shells, USB devices (with optional blocking), new ports, kernel modules and file integrity, with Watch, Protect and Lockdown modes, a first-week learning period so routine activity doesn't alert, and automatic quarantine. Vulnerability fixes for Ubuntu packages are ranked by what is actually in use and shipped in one press, or automatically in a maintenance window, through a phased rollout.

Each machine has its own key and every command is signed for that one machine. Remote terminals and ports are for owners and admins only, the Jetson only connects out, so no inbound port has to be opened, and every remote session is in the audit log: who connected to which robot, and when. Free for up to 3 machines.

See PhysicalFleet Security

Written by PhysicalFleet, as of December 2026. Jetson software moves fast: if something here no longer matches what you see, tell us and we'll fix it.

FAQ

Common questions

Something else? Talk to our team.

What is the default username and password on a Jetson?

There is no fixed one: you create the user in oem-config at first boot, or before flashing with l4t_create_default_user.sh, whose examples use nvidia. The risk is an image built with one user and password and flashed to every unit, so lock or change it per unit.

Does a Jetson have a firewall enabled by default?

No. Ubuntu's ufw starts disabled and may not be installed on a Jetson image. Install it, allow SSH from your network, then enable it, and remember that ports published by Docker bypass ufw.

Can someone reflash my Jetson with a USB cable?

On a unit without Secure Boot, yes: recovery mode is in the chip's BootROM and accepts a new image over USB. After you burn your public key hash into the fuses, the BootROM only accepts boot code signed with your key.

Can I undo Secure Boot on a Jetson Orin?

No. Secure Boot burns fuses, and NVIDIA states that fuse burning cannot be reversed. A fused module can only be flashed with images signed by your key, so losing the key means the unit can't be reflashed.

Is Jetson disk encryption secure without burning fuses?

Not really. If the EKB fuse key (NVIDIA recommends OEM_K1) isn't burned, OP-TEE uses a pre-defined hard-coded key, which is meant for testing. Real protection needs your own EKB and the fuse.

Does the Jetson Orin have a TPM?

It has a firmware TPM (fTPM): a TPM 2.0 that runs as an OP-TEE trusted application on Orin Nano, Orin NX and AGX Orin. It relies on Secure Boot, needs a per-device secret fuse and is provisioned at manufacturing, so it isn't on by default.

Should I enable unattended-upgrades on a Jetson?

For Ubuntu security updates, yes. Its default origins don't include NVIDIA's repository; keep it that way, blacklist nvidia-l4t- packages, leave automatic reboot off and update Jetson Linux deliberately, one unit first.

How do I check if my Jetson needs a security update?

Run cat /etc/nv_tegra_release and compare the release with the fixed versions in NVIDIA's Jetson security bulletins on its Product Security page. For Ubuntu packages, run apt list --upgradable.

How do I disable USB device mode on a Jetson?

Run sudo systemctl disable --now nv-l4t-usb-device-mode.service, and disable serial-getty@ttyGS0.service for the console on the same port. This doesn't affect recovery mode, which only Secure Boot protects.

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