4 ms·
To transfer a multi-hundred-GB file I'd use something restartable like rsync or wget instead of nc.
by dn3500 6y ago
To transfer a multi-hundred-GB file I'd use something restartable like rsync or wget instead of nc.
- kayodelycaon 6y agoThe issue in the article could have been solved by running a long-running command with no output in screen or tmux. If ssh disconnects, just reattach.
- cat199 6y agono, because this example was site->site data transfer across the disconnecting link
- BossHamster 6y agoyes, because the issue was not the site data transfer, but the idle SSH session(s) running the nc commands. When the idle SSH session got dropped, it took nc down with it and that stopped the transfer.
- the8472 6y agono need for tmux, nohup would have done the job.