wrong setting

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-31 09:28:16 +01:00
parent b2dde62033
commit 61b4d26c00

View file

@ -1,8 +1,8 @@
{...}: {
services.openssh.enable = true;
services.openssh.settings = {
PermitRootLogin = true;
PasswordAuthentication = "no";
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
};
networking.firewall.allowedTCPPorts = [22];
}