On Tue, Nov 22, 2011 at 12:04 PM, Warlich, Christof <
[email protected]> wrote:
> How could I convice Make to accept something similar, considering that I
> have
> quite a number of commands to be executed through ssh, but avoiding to have
> a dedicated script file to be copied to the remote host first?
>
When i've needed to do that, i've echoed the commands into a local temp
file and then feed the file to ssh (without using scp):
{ \
echo "command 1;"; \
echo "commnd 2;"; \
} > tmpfile
ssh ... < tmpfile
rm -f tmpfile
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make