14 lines
348 B
Nix
14 lines
348 B
Nix
{lib, ...}: {
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "prohibit-password";
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = lib.mkDefault false;
|
|
StreamLocalBindUnlink = true;
|
|
KexAlgorithms = ["curve25519-sha256@libssh.org"];
|
|
LogLevel = "VERBOSE";
|
|
};
|
|
};
|
|
}
|