Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion nixos/common/openssh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@

# Use key exchange algorithms recommended by `nixpkgs#ssh-audit`
settings.KexAlgorithms = [
"mlkem768x25519-sha256"
"sntrup761x25519-sha512"
"sntrup761x25519-sha512@openssh.com"
"curve25519-sha256"
"curve25519-sha256@libssh.org"
"diffie-hellman-group16-sha512"
"diffie-hellman-group18-sha512"
"sntrup761x25519-sha512@openssh.com"
];
# Only allow system-level authorized_keys to avoid injections.
# We currently don't enable this when git-based software that relies on this is enabled.
Expand Down