Upgrading over ssh and connection failure

Tom H tomh0665 at gmail.com
Mon Aug 13 13:36:30 UTC 2018

On Sun, Aug 12, 2018 at 3:07 PM Colin Law <clanlaw at gmail.com> wrote:
> I have several systems that I access via ssh. When I upgrade using
> apt upgrade is there a danger of the upgrade seriously messing up if
> the connection goes down in the middle of the operation, while
> upgrading the kernel for example? When I say say seriously messing up
> I mean something like ending up with a non-bootable system.

Use tmux (or screen).

You can detach from a session and log off. You can then ssh back in
and attach to your still-running session.

More information about the ubuntu-users mailing list