Y
Hacker News
new
|
ask
|
show
|
jobs
by
dn3500
2152 days ago
To transfer a multi-hundred-GB file I'd use something restartable like rsync or wget instead of nc.
1 comments
kayodelycaon
2152 days ago
The 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.
link
cat199
2152 days ago
no, because this example was site->site data transfer across the disconnecting link
link
BossHamster
2152 days ago
yes, 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.
link
the8472
2152 days ago
no need for tmux, nohup would have done the job.
link