Allow only ed25519 host key
This commit is contained in:
parent
d21d155a0e
commit
6295e55eb8
1 changed files with 6 additions and 0 deletions
|
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue