reorder keys

This commit is contained in:
nora 2024-08-28 00:14:18 +02:00
parent 0f9295ee45
commit 19b69c41fd

View file

@ -220,9 +220,8 @@ in
enable = true;
hostKeys = [
{
bits = 4096;
path = "/etc/ssh/ssh_host_rsa_key";
type = "rsa";
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
{
# P256
@ -230,8 +229,9 @@ in
type = "ecdsa";
}
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
bits = 4096;
path = "/etc/ssh/ssh_host_rsa_key";
type = "rsa";
}
];
settings.PermitRootLogin = "no";