This commit is contained in:
Lilith 2024-06-12 20:30:14 +02:00
parent 0d61c14991
commit 3c44ab3bbe
Signed by: lilith
GPG key ID: 8712A0F317C37175
6 changed files with 24 additions and 5 deletions

View file

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