Ubuntu 20.04.3 desktop (Cinnamon) - SSH disconnects when user logs off the desktop!
Peter Flynn
peter at silmaril.ie
Fri Jan 21 22:33:37 UTC 2022
On 21/01/2022 22:27, Bo Berglund wrote:
> My new install of Ubuntu Desktop 20.04 LTS on an HP PRODESK 400 G4 Desktop Mini
> is misbehaving on SSH!
>
> I will normally interact with it only using SSH but for some strange reason the
> SSH server seems to disconnect the SSH client session when the user logs off the
> desktop!
> Why is that so? And can it be changed?
>
> The disconnect does not happen directly when I log off from the desktop but
> after some time (a couple of minutes) the SSH session (via PuTTY) just
> disconnects mid way in a file edit or other activity! At the same time I hear
> from the box how the data drive is powered off and the heads parked.
I think there is a "keep-alive" setting of some kind in
/etc/ssh/ssh_config, but it's been a long time since I used it.
Peter
More information about the ubuntu-users
mailing list