add ssh login for shatteredmint

This commit is contained in:
2024-12-20 01:02:08 +01:00
parent 90f7484142
commit 2e79694285
3 changed files with 15 additions and 14 deletions

View File

@@ -15,18 +15,5 @@
];
};
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
KbdInteractiveAuthentication = false;
# AllowUsers = [ "backup" ];
# UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
networking.firewall.allowedTCPPorts = [ 22 ];
}