Launch into two machines only with access to one

asked 2015-01-30 02:59:00 -0500

kleinash gravatar image

Hi,

This is my setup:

Operator: Hydro Bot: Hydro Manipulator: Hydro

I am on Operator, I need to ssh into Bot and from there ssh into Manipulator, launch a script by cd'ing into its directory and running ./script_launch. Then exit Manipulator and launch node on Bot. Then exit Bot and launch script on Operator. I wrote a bash script that does this - but its not working so now I am looking at using a launch file.

i.e.

ssh bot
ssh Manipulator
cd /path/to/file
./script
exit Manipulator
launch node launch_file.launch
exit Bot
launch nodeOperator launch_fileOperator.launch

any help is much appreciated

edit retag flag offensive close merge delete