change ssh options

This commit is contained in:
UGA Innovation Factory
2025-12-16 15:37:07 -05:00
parent 258b6ff934
commit 4491f78268

View File

@@ -35,14 +35,9 @@
wget wget
]; ];
# Enable SSH for remote access # SSH is already configured by the host type module
services.openssh = { # Only override if you need different settings:
enable = true; # services.openssh.settings.PermitRootLogin = lib.mkForce "no";
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
# Configure users (these will be added via inventory.nix extraUsers) # Configure users (these will be added via inventory.nix extraUsers)
# ugaif.users.sv22900.enable = true; # ugaif.users.sv22900.enable = true;