by tyingq · 4y ago · 0 comments
A simplistic version could be just to ship a static binary of your shell over, like:
tar -cf - ./bash-binary | ssh $host 'tar -xf -;./bash-binary -c "echo hello world"'
why would you tar-up a single file w/o compression thou?