Hey all,
I have written some shells scripts. They basically create ssh tunnels between a my box and numerous nodes on a cluster. Which then allows me send Linux commands and receive output from far away nodes on my cluster.
E.g. Script:
Code:
#linux_command="uname -a"
#Create tunnel
ssh -A -q -o -L $PORT:$HOST2:22 Username@$HOST1 -N
#Send commands
ssh -A -q -p$PORT Username@localhost "$linux_command"
This is just a snippet.
But i wanted to rewrite this functionality in a new language,
hopefully one that will allow me to expand the usage of these tools and give them a bit more intelligence. But also one that won't take away easy access to system commands.
Thanks
Martin