Allow only ed25519 host key

This commit is contained in:
Jakob Lechner 2024-07-17 23:16:25 +02:00
parent d21d155a0e
commit 6295e55eb8

View file

@ -23,6 +23,12 @@
UseDns = false;
X11Forwarding = false;
};
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
authorizedKeysFiles = lib.mkForce [ "/etc/ssh/authorized_keys.d/%u" ];
};
}