Launch File SSH No Existing Connection

asked 2019-09-10 12:54:49 -0500

GriffinB gravatar image

I'm attempting to use a launch file to run a node on a another machine. The node works if run directly from the remote machine or if I SSH in then run it, but I get an error when running through SSH in a launch file.

This it the error I get:

remote[]: failed to launch on TX2-004-ARM:

Unable to establish ssh connection to []: No existing session

[] killing on exit
unable to start remote roslaunch child:
The traceback for the exceptions was written to the log file

This is my launch file:

        <machine name="TX2-004-ARM" username="nvidia" address="" default="true" env-loader="/opt/ros/melodic/"/>
        <node name="serial_node" pkg=""serialros" type="serial_cmd" machine="TX2-004-ARM">

The log file hasn't been of much help and I have have no idea why SSH fails here but not normally.

Any ideas on why ROS fails SSH here?

edit retag flag offensive close merge delete



First of all, make sure you can ping this host Secondly, since you're not using a password, you have to add SSH keys. If you have added, please describe your steps.

lucascoelho gravatar image lucascoelho  ( 2019-09-10 14:13:35 -0500 )edit