“SSH Must Be Enabled on the Target” Message Displayed When Adding Software to NI Linux Real-Time Target From NI MAX

Updated Jan 16, 2025

Reported In

Software

  • Measurement & Automation Explorer (MAX)

Operating System

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

Issue Details

I recently formatted my Linux Real-Time Target through NI MAX successfully. However, after completing the process and trying to install software on my device from NI MAX, the following message is displayed:


SSH must be enabled on the target.
 
The error is shown in the following dialog box:

error.png 
 

Solution

This error is being displayed because Secure Shell Server (SSH) is not enabled on the Real-Time (RT)  target or NI MAX is not recognizing that this setting is actually activated. To solve the issue, please follow the steps below.
  1. Check the box by Enable Secure Shell Server (sshd) option in the Startup Settings window of your RT controller in NI MAX. If you cannot find this option in the Startup Settings window, please review the ni-rt.ini of your device instead. To do so, initiate a WebDAV session, navigate to etc\natinst\share, and edit the required file.  For the sshd.enabled option, type "True" and save the resultant file. 
 sshd.enabled.png
  1. If the SSH is already enabled and you still receive the same error, remove the RT target from NI MAX and re-add it. You can follow the process listed in Creating a Remote System

 

Additional Information

SSH is enabled by default when using Linux RT System Images as explained in the NI MAX Checkbox to Enable SSH Is Not Available article.