Skip to content

Instantly share code, notes, and snippets.

@royharoush
Created January 30, 2017 13:58
Show Gist options
  • Save royharoush/0789d230193c34d03bcad8b3ab1214a5 to your computer and use it in GitHub Desktop.
Save royharoush/0789d230193c34d03bcad8b3ab1214a5 to your computer and use it in GitHub Desktop.
Modifying CSSH code to support reverse tunnel through ssh
git clone https://git.code.sf.net/p/clusterssh/code clusterssh-code
cd clusterssh-code/
grep -rle "-x -o" | xargs sed -i 's/-x -o/ -R 46001:127.0.0.1:46001 -x -o /g'
perl Build.PL
./Build
./Build test
./Build install
cd bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment