News for hackers. Stuff that matters.
Re:Write Posix Shell by EuAndreh on Saturday March 11, 2023 @12:34PM (#35110571)
You can forego the final "bash -c" by leveraging dd(1) to avoid the redirection problem:

    ... | ssh server.com dd of=out.tag.zstd
Re:Write Posix Shell by hedora on Saturday March 11, 2023 @12:38PM (#35110607)
Thanks! Will definitely use that moving forward.
Re:Write Posix Shell by EuAndreh on Saturday March 11, 2023 @12:37PM (#35110596)
dd(1) reads from STDIN by default unless given an "if=" parameter, and writes to STDOUT by default umless given an "of=" parameter.