[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



On Mon, 2015-08-17 at 12:23 +0200, Laurent Bigonville wrote:
> The correct solution is IMVHO is to use libpam-systemd with UsePAM
> set
> to yes. On other solution is to change the KillMode, but doing so,
> you'll probably loose the connection if the ssh service is restarted.
Both doesn't seem to be ideal...

I think we should simply add a new unit file, that cleans up any "left
over" sessions which haven't been killed via the cgroup (either because
of the pam module not installed or simply because the user doesn't want
to use UsePAM.

Cheers,
Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: