[CentOS] remote command execution

Tue Mar 18 22:52:22 UTC 2008
Joseph L. Casale <jcasale at ActiveNetwerx.com>

> I just tried:
>
> % cat /tmp/test.sh
> nohup /usr/bin/tail -f /tmp/test.in > /tmp/test.out 2>&1 &
>
> (note that all output is redirected)
>
> C:\> plink user at host /tmp/test.sh
> ...
> C:\>
>
> on the remote host
> % echo "10" >> /tmp/test.in
> % cat /tmp/test.out
> ...
> 10
> % ps ax|grep tail
> ...  /usr/bin/tail -f /tmp/test.in
>
>

Right, but do something that takes a while, like a large dd from /dev/random and see what plink does :)

jlc