14 lines
222 B
Nix
14 lines
222 B
Nix
{
|
|
services.openssh = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
ClientAliveInterval = 300;
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
PasswordAuthentication = false;
|
|
PermitRootLogin = "no";
|
|
};
|
|
};
|
|
}
|