aaaaa this is an amazing possibility, if you want to transfer files from one host to the other without scp/rsync, just by using ssh. apparently, ssh can take data from standard input, so the pipeline works like this:
tar -cf - env/novation | ssh arnet.am "cd /tmp; tar -xf -"
https://github.com/norayr/home_sweet_home/blob/master/scripts/ssh_sync.sh #openssh #ssh #network #unix