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