14 lines
296 B
Nix
14 lines
296 B
Nix
{
|
|
services.openssh = {
|
|
enable = true;
|
|
allowSFTP = true;
|
|
settings = {
|
|
KbdInteractiveAuthentication = false;
|
|
PasswordAuthentication = false;
|
|
PermitEmptyPasswords = false;
|
|
PermitRootLogin = "no";
|
|
UseDns = false;
|
|
X11Forwarding = false;
|
|
};
|
|
};
|
|
}
|