Re:File Transfer with SSH, Tee, and Base64
by vlovich123 on Thursday September 17, 2020 @11:35AM
(#24505919)
They mention that you can’t run commands without an interactive shell. I believe that knocks out your proposal because then rsync+ssh would work without all the complexity you have in your post with all the same benefits. Could be wrong though.
[ Parent
| on HN ]
Re:File Transfer with SSH, Tee, and Base64
by waterhouse on Thursday September 17, 2020 @12:17PM
(#24506508)
I see, I did miss that.
I do wonder if there's a workaround for that, though. "bash" has the "-l" option for "Make bash act as if it had been invoked as a login shell", and also "-i" forces interactive mode. For ssh, "-t" is "Force pseudo-terminal allocation"; would that work?