server2: openssh.permitRootLogin=prohibit-password

This commit is contained in:
Astro 2021-06-18 19:59:09 +02:00
parent 7c0205f47e
commit a85c25b0e2
1 changed files with 1 additions and 1 deletions

View File

@ -51,5 +51,5 @@
wget vim git screen
];
services.openssh.enable = true;
services.openssh.permitRootLogin = "yes";
services.openssh.permitRootLogin = "prohibit-password";
}