#965132 openssh-server: add ssh@.socket

Package:
openssh-server
Source:
openssh
Description:
secure shell (SSH) server, for secure access from remote machines
Submitter:
Date:
2020-12-09 16:45:06 UTC
Severity:
wishlist
Tags:
#965132#5
Date:
2020-07-16 15:38:34 UTC
From:
To:
Package: openssh-server
Version: 1:8.3p1-1
Priority: wishlist
Tags: patch

Hi,

when having some daemon listening on another IP address on the same port as
the regular sshd, sshd must not listen on wildcard.

Because IP addresses might come up later than sshd on bootup, sshd might miss
relevant listen addresses.

The problem can be solved by either patching sshd to use IP_FREEBIND or using
the attached template socket unit with systemd.

Usage:
systemctl enable --now ssh@192.0.2.42.socket ssh@[2001:db8::2a].socket


Regards
Timo Weingärtner