Gentoo Archives: gentoo-dev

From: Patrick McLean <chutzpah@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC v2] News item: OpenSSH 8.2_p1 running sshd breakage
Date: Wed, 19 Feb 2020 21:32:10
Message-Id: 20200219133201.62fa1945@patrickm.gaikai.org
1 Title: OpenSSH 8.2_p1 running sshd breakage
2 Author: Patrick McLean <chutzpah@g.o>
3 Posted: 2020-02-21
4 Revision: 1
5 News-Item-Format: 2.0
6 Display-If-Installed: <net-misc/openssh-8.2
7
8 If sshd is running, and a system is upgraded from <net-misc/openssh-8.2_p1
9 to >=net-misc/openssh-8.2_p1, any new ssh connection will fail until sshd is
10 restarted.
11
12 Before restarting sshd, it is *strongly* recommended that you test your
13 configuraton with the following command (as root):
14 sshd -t
15
16 If your system is booted with openrc, use this command (as root)
17 to restart sshd:
18 rc-service sshd --nodeps restart
19
20 If your system is booted with systemd, use this command (as root)
21 to restart sshd:
22 systemctl restart sshd
23
24 If you are using systemd socket activation for sshd, then no action is
25 required.
26
27 WARNING: On systemd booted machines with PAM disabled, this command
28 will terminate all currently open ssh connections. It is *strongly*
29 recommended that you validate your configuration before restarting
30 sshd.

Replies