ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

SSH error when launching nodes on another machine

asked 2013-08-12 13:33:56 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

We added this line to our launch file in order to run a node on another machine:

<machine name="robot" address="" env-loader="/opt/ros/groovy/" user="turtlebot"/>

The problem is we get this error:

<a href=""></a> is not in your SSH known_hosts file.

Please manually:
   ssh <a href=""></a>

then try roslaunching again.

If you wish to configure roslaunch to automatically recognize unknown hosts, please set the environment variable ROSLAUNCH_SSH_UNKNOWN=1

Our environment variable is set to:

#!/usr/bin/env sh
# generated from catkin/cmake/templates/

if [ $# -eq 0 ] ; then
   /bin/echo "Usage: COMMANDS"
   /bin/echo "Calling without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
   exit 1
  . "/opt/ros/groovy/"
  exec "$@"
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-13 05:25:08 -0600

thebyohazard gravatar image

Linux doesn't know what computer refers to, and so you have to tell it. You do so by editing your /etc/hosts file like they do in this explanation.

edit flag offensive delete link more

Question Tools



Asked: 2013-08-12 13:33:56 -0600

Seen: 1,119 times

Last updated: Aug 13 '13