enhancement/37 #44

Merged
wi11-holdsworth merged 6 commits from enhancement/37 into main 2025-10-22 17:29:31 +11:00
Showing only changes of commit 60280c2897 - Show all commits

View file

@ -25,7 +25,19 @@
networking.hostName = "${hostName}";
services.openssh.enable = true;
# hardened openssh
services.openssh = {
passwordAuthentication = false;
allowSFTP = false;
challengeResponseAuthentication = false;
extraConfig = ''
AllowTcpForwarding yes
X11Forwarding no
AllowAgentForwarding no
AllowStreamLocalForwarding no
AuthenticationMethods publickey
'';
};
system.stateVersion = "24.11";