After both "systemctl stop ssh" or a complete "apt-get purge openssh-
server" existing ssh connections continue to work, and the various
"sshd: login [priv]" processes continue to run, just the "/usr/sbin/sshd
-D" master process goes away, as expected.
sshd.service has KillMode=process which does that (kills the master
process, but none of its children). So I cannot reproduce this.
Do you have some more information how to reproduce this behaviour? Can
you perhaps interrupt the image build process right before the purging,
check "ps aux|grep ssh", then purge, check ps again, see what happened?
Do you have steps or something that I can run which reproduces this?
** Changed in: openssh (Ubuntu)
Status: Triaged => Incomplete
** Summary changed:
- systemd changes behavior of apt-get remove openssh-server
+ stopping ssh.service closes existing ssh connections
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1429938
Title:
stopping ssh.service closes existing ssh connections
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1429938/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs