Running command transparently over ssh
- by jnsg
By transparently I mean forwarding of:
stdin, stdout and stderr
standard signals (SIGHUP or SIGINT would be great for a start)
As an example, consider these invocations of a (pointless) local and remote command:
$ `cat - > /dev/null; sleep 10` < /local/file
$ ssh user@host "cat - > /dev/null; sleep 10" < /local/file
I can…