Skip to content

Commit

Permalink
Merge pull request #750 from flyingcircusio/PL-131620-ssh-kex-algos
Browse files Browse the repository at this point in the history
ssh: only allow strong KexAlgorithms
  • Loading branch information
ctheune committed Jul 17, 2023
2 parents a6f1148 + a64c156 commit 552f529
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nixos/platform/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,13 @@ in {
openssh.settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
KexAlgorithms = [
"sntrup761x25519-sha512@openssh.com"
"curve25519-sha256"
"curve25519-sha256@libssh.org"
"diffie-hellman-group16-sha512"
"diffie-hellman-group18-sha512"
];
};

telegraf.enable = mkDefault true;
Expand Down

0 comments on commit 552f529

Please sign in to comment.