security: set openssh.hostKeys
This commit is contained in:
parent
2b4cb226a1
commit
6427297c9e
1 changed files with 14 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue