wrong setting
This commit is contained in:
parent
b2dde62033
commit
61b4d26c00
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