From bb45d93cb5e0130379007a334fdb2e6e92bc10b7 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 4 Mar 2025 22:32:40 +0100 Subject: [PATCH] ssh.nix: accept ecdsa --- modules/services/ssh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/ssh.nix b/modules/services/ssh.nix index 28795a9..d183b7e 100644 --- a/modules/services/ssh.nix +++ b/modules/services/ssh.nix @@ -4,6 +4,11 @@ in { options.modules.programs.ssh.enable = mkEnableOption "ssh"; config = { programs.ssh.startAgent = true; + programs.ssh.pubkeyAcceptedKeyTypes = [ + "ssh-rsa" + "ecdsa-sha2-nistp521" + ]; + services.openssh = { enable = true; ports = [8997];