fix: options have been renamed in latest release

This commit is contained in:
wi11-holdsworth 2025-12-10 19:48:32 +11:00
parent ea0b2ebbfd
commit 63774a34f5

View file

@ -27,9 +27,7 @@
# hardened openssh # hardened openssh
services.openssh = { services.openssh = {
passwordAuthentication = false;
allowSFTP = false; allowSFTP = false;
challengeResponseAuthentication = false;
extraConfig = '' extraConfig = ''
AllowTcpForwarding yes AllowTcpForwarding yes
X11Forwarding no X11Forwarding no
@ -37,6 +35,10 @@
AllowStreamLocalForwarding no AllowStreamLocalForwarding no
AuthenticationMethods publickey AuthenticationMethods publickey
''; '';
settings = {
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
};
}; };
system.stateVersion = "24.11"; system.stateVersion = "24.11";