From 6fd9541ed6c13b14ee5d3c8e4b40079d828f3f63 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 1 Jul 2024 18:08:07 +0200 Subject: fix(system/services/openssh): Update to fix CVE-2024-6387 “regreSSHion” MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should already be in 24.04, but it does not work currently :<. --- system/services/openssh/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'system/services/openssh/default.nix') diff --git a/system/services/openssh/default.nix b/system/services/openssh/default.nix index 46b7ffd..46a9782 100644 --- a/system/services/openssh/default.nix +++ b/system/services/openssh/default.nix @@ -1,7 +1,14 @@ -{...}: { +{pkgsUnstable, ...}: { + imports = [ + ./new_module.nix + ]; + services.openssh = { enable = true; settings.PasswordAuthentication = false; + + package = pkgsUnstable.openssh; + hostKeys = [ { # See the explanation for this in /system/impermanence/mods/openssh.nix -- cgit 1.4.1