Update the SSH Version on an NI Linux Real-Time Target

Updated Oct 22, 2026

Reported In

Hardware

  • PXI Controller
  • CompactRIO Controller

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

I noticed that my NI Linux Real-Time target is running an older SSH version than required for my application. I would like to update the SSH version on my PXI or CompactRIO (cRIO) controller to a newer release.

Solution

NI Linux Real-Time systems use a modified version of SSH that includes patches addressing major Common Vulnerabilities and Exposures (CVEs) applicable to the SSH version shipped with the corresponding NI Linux Real-Time image at the time of creation.
To obtain a newer SSH version:
  1. Update the NI Linux Real-Time System Image installed on the target device.
    • Install a newer NI Linux Real-Time image that supports the hardware.
    • Verify whether the updated image includes the required SSH version.
  2. Create a custom NI Linux Real-Time image if a suitable SSH version is not available.
    • Use the NI Linux Real-Time image build process to generate a custom image containing the desired SSH version.
    • Follow the guidance available in the NI Linux Real-Time GitHub repository:
Because NI Linux Real-Time images contain platform-specific modifications and validation, directly replacing SSH packages on the target is not the recommended approach.

Additional Information

NI Linux Real-Time distributions incorporate security fixes through patched software packages. As a result, the reported SSH version may appear older even though known security vulnerabilities applicable to that release have been addressed.