Securely pipe output to another host
published:
signed with 0x683A22F9469CA4EBI was in a weird situation where I had to export some data from a device attached to a non-encrypted (but otherwise trusted) system, to an encrypted system that was incompatible with the device. I wanted to transfer this data without an intermediary writes on unencrypted disks.
The first thing that came to mind actually worked really well:
someCommand | ssh user@host ">filename.foo"