Hi
Can anyone tell me the simplest way to get two bash scripts to communicate with each other when running on two different servers?
Is it possible to use a named pipe or something similar?
Thanks in advance
Steady
Hi
Can anyone tell me the simplest way to get two bash scripts to communicate with each other when running on two different servers?
Is it possible to use a named pipe or something similar?
Thanks in advance
Steady
./myscript | ssh username@host ./otherscript
Also possible is things like netcat (nc).
Cheers Corona
Simple and sweet
---------- Post updated at 08:50 PM ---------- Previous update was at 08:40 PM ----------
This seems to work well with a listener sitting on a pipe -
printf "%s\n" "test from vm" | ssh sshtest@tx5xn "cat >> /tmp/testpipe"