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

@@ -111,7 +111,18 @@
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
KbdInteractiveAuthentication = false;
# AllowUsers = [ "backup" ];
# UseDns = true;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];