[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751636: openssh-server: ssh sessions are not cleanly termined on shutdown/restart with systemd



Christoph Anton Mitterer <calestyo@scientia.net> writes:

> But I mean before thinking about "how to handle it technically",... it
> should probably decided "what do we actually want".  Like "even if ssh
> itself (the binary) behaves different from apache/etc.  - do we want to
> keep that in the unit-files or do we want "stop" to generally mean that
> everything from that service is stopped".

> I personally would tend to the later, though this may have many
> implications...

Yes, a lot of people being *quite* upset when they stop ssh to restart it
with debugging or to temporarily bring it down while working on something,
discover that their session was terminated in a way that's never happened
with ssh in the past, and now be unable to connect to the system since it
was a remote server.

Let's not do that.  That would be really unpleasant.  We need to preserve
the current sshd behavior that stopping the service does *not* kill open
sessions.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: