Archived:Failed to Connect SSHD in Eclipse IDE Using myRIO

Updated Jun 1, 2023

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Hardware

  • myRIO Student Embedded Device

Programming Language

  • C++

Other

C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition

Issue Details

For New Projects, a Modernized Toolchain Is Advised Instead

This article explains how to use Eclipse C/C++ Development Tools for NI Linux Real-Time to achieve cross-compiling tasks. This toolset is not actively maintained anymore. It was last updated in 2018 and is currently not advised to be used for new projects.

Instead, NI created extensive documentation for a modernized toolchain, which is easier to learn and utilize. That documentation also provides information on typical steps, like building, deploying, and debugging a shared library. If you are planning to do C/C++ development and are searching for the right toolchain, then visit Getting Started with C/C++ Development for NI Linux Real-Time.
 

Overview of the Following Eclipse-Based Content

I am connecting Eclipse IDE to NI myRIO controller via SSH, but it resuts with "Failed to connect sshd on "172.22.11.2:22" error.

Solution

Switch on SSH or check that SSH is enabled on your target.

Additional Information

Based on Getting Started with C/C++ Development Tools for NI Linux Real-Time​​, Eclipse Edition ​​tutorial you should ensure your target has secure shell (SSH) enabled. You can enable SSH on your target using Measurement & Automation Explorer (MAX).