security: set openssh.hostKeys

This commit is contained in:
LavaDesu 2021-09-20 18:40:15 +07:00
parent 2b4cb226a1
commit 6427297c9e
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -6,6 +6,20 @@
permitRootLogin = "no";
passwordAuthentication = false;
forwardX11 = true;
hostKeys = [
{
bits = 4096;
path = "/var/persist/ssh_host_rsa_key";
rounds = 100;
type = "rsa";
}
{
path = "/var/persist/ssh_host_ed25519_key";
rounds = 100;
type = "ed25519";
}
];
};
security = {