On Mon, Nov 09, 2026 at 05:58:42PM +0100, R.Scussat - DSP LABS S.r.l. wrote:
some time ago, OpenSSH server was modified to separate session related operations into a separate program (`sshd-session`) in order to improve security. However, this change altered TCP wrappers behavior: previously, the key used for `libwrap` was derived from the executable's name, whereas now it is static and fixed as "sshd." Unfortunately, if two separate instances of `sshd` are installed on the same machine, it becomes impossible to configure TCP wrappers appropriately, as both instances use the same key.
Hmm, OK, I hadn't realized this. However, support for TCP wrappers in OpenSSH is on life support in Debian, having been removed upstream in OpenSSH 6.7; I definitely don't intend to add more user-facing options for it, and ultimately I'd prefer to move towards dropping it entirely.
Please could you explore whether any other approach would be feasible for you? For example, https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers#Documentation suggests several alternatives, none of which should require changes to sshd.
Thanks, -- Colin Watson (he/him) [[email protected]]

