WIP: rewrite config #618
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.settings = {
|
services.openssh.settings = {
|
||||||
PermitRootLogin = true;
|
PermitRootLogin = "prohibit-password";
|
||||||
PasswordAuthentication = "no";
|
PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [22];
|
networking.firewall.allowedTCPPorts = [22];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue