3 ms·
If you have SSH keys set up then: cat file.bin | ssh -A host1 ssh host2 "cat > file.bin" Then there's other tricks you could do like port forwarding, file
by laumars 11y ago
If you have SSH keys set up then:
cat file.bin | ssh -A host1 ssh host2 "cat > file.bin"
Then there's other tricks you could do like port forwarding, filesystem mounting over SSH (sshfs) etc. But if zmodem works for you then it's as good a solution as any of the above. I only give SSH examples as demonstration at just how scarily powerful a tool it can be.
- jacquesm 11y agoThat assumes ssh is present to begin with. Really in the embedded world (which was the context if I got it right) you can just about throw all those assumptions out of the window. You're roughly back in 1989 or so when it comes to the features available to you in the environment, unless you're going for the more powerful platforms (with associated physical footprint, power consumption and boot times).
- laumars 11y agoThe context if this discussion was tunnelling zmodem over SSH, so I think it's a fair assumption that SSH is installed :) But you're right regarding embedded *nix in broader contexts.