Thanks for reporting this. I confirmed it with:
root@n:~# cat > /etc/ssh/sshd_config.d/ports.conf << EOF > Port 22 > Port 1024 > EOF root@n:~# /lib/systemd/system-generators/sshd-socket-generator . root@n:~# cat ssh.socket.d/addresses.conf # Automatically generated by sshd-socket-generator
[Socket] ListenStream= ListenStream=1024
Looking at the code the bug is very clear.
Thanks for reporting this. I confirmed it with:
root@n:~# cat > /etc/ssh/ sshd_config. d/ports. conf << EOF system- generators/ sshd-socket- generator . d/addresses. conf generator
> Port 22
> Port 1024
> EOF
root@n:~# /lib/systemd/
root@n:~# cat ssh.socket.
# Automatically generated by sshd-socket-
[Socket]
ListenStream=
ListenStream=1024
Looking at the code the bug is very clear.