nixpkgs/nixos/modules
Maximilian Bosch 7e45990c06
nixos/sshd: fix socket activated ports when using ListenAddress
Noticed that issue while reviewing #275633: when declaring
`ListenAddress host` without a port, all ports declared by
`Port`/`cfg.ports` will be used with `host` according to
`sshd_config(5)`.

However, if this is done and socket activation is used, only a socket
for port 22 is created instead of a sockets for each port from
`Port`/`cfg.ports`. This patch corrects that behavior.

Also added a regression test for this case.
2024-01-03 19:42:45 +01:00
..
config Merge pull request #272552 from SuperSandro2000/ghostscript-nox 2023-12-30 13:23:42 -05:00
hardware nixos/amdgpu-pro: replacce activationScript via tmpfiles 2023-12-29 03:21:32 +01:00
i18n/input-method
image image/repart: build image with buildPackages 2023-12-21 15:11:13 -08:00
installer nixos/installer: add a link to how to actually upgrade your system to the stateVersion note 2023-12-29 17:01:04 +03:00
misc nixos/doc: avoid bash argument list size limit 2023-12-31 18:08:46 +01:00
profiles Merge pull request #273308 from Stunkymonkey/install-device-fix-mdadm 2023-12-25 23:41:10 +01:00
programs Merge pull request #272943 from kira-bruneau/gamemode 2023-12-28 19:10:56 -05:00
security nixos/auditd: fix typo 2024-01-01 17:28:46 +01:00
services nixos/sshd: fix socket activated ports when using ListenAddress 2024-01-03 19:42:45 +01:00
system Merge pull request #273695 from lopsided98/initrd-systemd-lib-firmware 2024-01-03 04:30:27 -05:00
tasks Merge pull request #195805 from Luflosi/grub-use-correct-zfs-version 2023-12-31 21:33:37 +01:00
testing
virtualisation nixos/lxd-agent: fix evaluation regression caused by nixos/nixpkgs#271326 2023-12-30 08:45:30 -08:00
module-list.nix nixos/ollama: init 2023-12-29 15:19:55 +01:00
rename.nix