0
I found this answer by @jeremytrimble on Stack Overflow which explains how you can read a FIFO file over network.
I wonder if it’s possible to start these netcat commands automatically, e.g. in a crontab file (@reboot nc …). How would I keep them alive or have them restarted after they are killed?
Host1$ mkfifo Host1_named_pipe
Host1$ nc -l 1234 > Host1_named_pipe
Host2$ mkfifo Host2_named_pipe
Host2$ nc Host1 1234 < Host2_named_pipe
Now, when you run a program on Host2 and send its output to Host2_named_pipe, that output will come out of Host1_named_pipe on Host1.