Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [RFC] News item: OpenSSH 8.2_p1 running sshd breakage
Date: Wed, 19 Feb 2020 20:12:56
Message-Id: CAJ0EP40hNJ2W=YPJ5GKAyeMNTG4X7azgcbWnH7rz7m0+KujxCg@mail.gmail.com
In Reply to: [gentoo-dev] [RFC] News item: OpenSSH 8.2_p1 running sshd breakage by Patrick McLean
1 On Wed, Feb 19, 2020 at 3:02 PM Patrick McLean <chutzpah@g.o> wrote:
2 >
3 > Title: OpenSSH 8.2_p1 running sshd breakage
4 > Author: Patrick McLean <chutzpah@g.o>
5 > Posted: 2020-02-21
6 > Revision: 1
7 > News-Item-Format: 2.0
8 > Display-If-Installed: <net-misc/openssh-8.2
9 >
10 > If sshd is running, and a system is upgraded from <net-misc/openssh-8.2_p1
11 > to >=net-misc/openssh-8.2_p1, any new ssh connection will fail until sshd is
12 > restarted.
13 >
14 > Before restarting sshd, it is *strongly* recommended that you test your
15 > configuraton with the following command (as root):
16 > sshd -t
17 >
18 > If your system is booted with openrc, use this command (as root)
19 > to restart sshd:
20 > /etc/init.d/sshd restart
21 >
22 > If your system is booted with systemd, use this command (as root)
23 > to restart sshd:
24 > systemctl restart sshd
25 >
26 > WARNING: On systemd booted machines, this command will terminate all currently
27 > open ssh connections, it is *strongly* reccommended that you validate
28 > your configuration before restarting sshd.
29 >
30
31 Existing connections are only terminated if the pam_systemd module is
32 not enabled. This might happen if the user has disabled USE=pam on
33 sys-apps/systemd, or if they have modified the system pam stack to
34 exclude pam_systemd.
35
36 Maybe change the warning to this:
37
38 WARNING: On systemd booted machines with PAM disabled, this command
39 will terminate all currently open ssh connections. It is *strongly*
40 recommended that you validate your configuration before restarting
41 sshd.

Replies

Subject Author
Re: [gentoo-dev] [RFC] News item: OpenSSH 8.2_p1 running sshd breakage Michael Jones <gentoo@×××××××.com>