diff --git a/hosts/luna/modules/services/openssh.nix b/hosts/luna/modules/services/openssh.nix index 93424d7..212114d 100644 --- a/hosts/luna/modules/services/openssh.nix +++ b/hosts/luna/modules/services/openssh.nix @@ -5,6 +5,13 @@ settings = { PasswordAuthentication = false; PermitRootLogin = "prohibit-password"; + KexAlgorithms = [ + "curve25519-sha256" + "curve25519-sha256@libssh.org" + "diffie-hellman-group16-sha512" + "diffie-hellman-group18-sha512" + "sntrup761x25519-sha512@openssh.com" + ]; }; ports = [ 2200