fix: options have been renamed in latest release
This commit is contained in:
parent
b834611bcb
commit
d3868b69c4
1 changed files with 5 additions and 3 deletions
|
|
@ -27,9 +27,7 @@
|
|||
|
||||
# hardened openssh
|
||||
services.openssh = {
|
||||
passwordAuthentication = false;
|
||||
allowSFTP = false;
|
||||
challengeResponseAuthentication = false;
|
||||
allowSFTP = false;
|
||||
extraConfig = ''
|
||||
AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
@ -37,6 +35,10 @@
|
|||
AllowStreamLocalForwarding no
|
||||
AuthenticationMethods publickey
|
||||
'';
|
||||
settings = {
|
||||
KbdInteractiveAuthentication = false;
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue