Skip to content
Merged
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
6 changes: 5 additions & 1 deletion modules/ssh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,15 @@ in

services.openssh = lib.mkIf cfgS.recommendedDefaults {
settings = {
# following ssh-audit: nixos default minus 2048 bit modules (diffie-hellman-group-exchange-sha256) and not post-quantum safe (curve25519-sha256)
# following ssh-audit: nixos default minus 2048 bit modules (diffie-hellman-group-exchange-sha256)
# and including not post-quantum safe (curve25519-sha256) because of legacy systems and slow moving libraries...
KexAlgorithms = [
"mlkem768x25519-sha256"
"sntrup761x25519-sha512"
"[email protected]"
# not post-quantum safe but we cannot have nice things, yet...
"curve25519-sha256"
"[email protected]"
];
# following ssh-audit: nixos defaults
Macs = [
Expand Down