Hacker News new | ask | show | jobs
by esseph 397 days ago
Often for long running jobs you want to see the status of where logging out of the system stops the job output.
1 comments

Or where you can't risk dropping the terminal session, like during a system upgrade via SSH.
System upgrade shouldn't drop your session btw, at least not on most flavors I'm familiar with
The risk is anything else dropping your connection while an interactive long-running process is going. You can nohup, or run inside something like screen/tmux,
You're not wrong, but largely in the virtualized world we live in, it matters less and less when you have a virtual console.

That said the sshd session you are connected on is still running the old executable until the service is restarted AND your session ends, so even if sshd gets upgraded, you should still be good to go.

A thoughtfully designed upgrade system doesn’t do the real work side your terminal session in the interactive process.
Defense in depth is always valuable. The point of this thread is that screen protects your workflow from an unexpected disconnection.