This bug is at least a few years old. Whenever a Gentoo system on which a user is connected via SSH shuts down, the connection freezes and remains that way until either the pipe breaks or the user kills their ssh client. The sshd init scripts of FreeBSD and Ubuntu Linux both close the connection upon system shutdown. It would be nice if the Gentoo sshd init script did the same.
Do they do this in a way that does not terminate SSH sessions when you restart the service? I like being able to upgrade openssh remotely.
(In reply to comment #1) > Do they do this in a way that does not terminate SSH sessions when you > restart the service? > > I like being able to upgrade openssh remotely. You can stop the ssh daemon without killing your existing connections on Ubuntu. It has been a while since I have used FreeBSD and I do not have a VM on hand, so I cannot double check, but I assume that FreeBSD is the same.
*** This bug has been marked as a duplicate of bug 259183 ***