4 ms·
It's still hard to match the convenience of moving files to and from a server with RZ/SZ. If your terminal emulator supports it, it will see the trigger sequen
by stevefeinstein 10y ago
It's still hard to match the convenience of moving files to and from a server with RZ/SZ.
If your terminal emulator supports it, it will see the trigger sequence emitted and start the modem protocol over your ssh connection and save the file.
Since it runs over your current ssh connection it's perfectly secure.
It's so much easier then switching to a local terminal to use scp to get or put a local file. Sure, I know it's not the most efficient protocol but with the speed of todays networks the kind of files you're dealing with when doing administration or development are more quickly transferred by not having to do the context switch.
If there's a mac terminal that will do scp that has shell integration on the host. I'd switch to that, but I haven't found one. Is there?
- rsync 10y agoI agree ... I forget to do this these days but in relatively modern days I used to use sz/rz all the time ... circa 2000-2004 I guess ...
- Grishnakh 10y agoI still use sz/rz on an almost daily basis, for doing embedded system development. The system I work with is only accessible over UART, so rz/sz is the only way to transfer files to the host PC (well, the only convenient way; the other way is through JTAG, which is a PITA, and only useful for imaging, not just transferring some small data file from the running system).
- housel 10y agoSame here. UART isn't always the only option on my platforms, but if Ethernet, WiFi, or USB gadget is unavailable for whatever reason, sz/rz (from Linux) or loady (ymodem, from U-Boot) is usually the next best choice. Minicom makes using these fairly convenient.
- mbreese 10y agoApparently iTerm2 can be used to setup lrzsz coupling [1]. I haven't tried it yet myself, but I'm going to! I really hope this works. It's such a pain to setup scp back to my workstation that if I need to do any real back and forth, I've been known to setup a reverse SSH tunnel just for getting scp to work. But even then, it's a pain. Zmodem would be so much easier (and make me a little nostalgic inside every time I used it). [1] https://grack.com/blog/2011/10/26/automatic-file-transfer-in-iterm2-via-zmodem/ https://grack.com/blog/2011/10/26/automatic-file-transfer-in...