nixops: nixos 23.05 SSH config

This commit is contained in:
Sebastien Bourdeauducq 2023-05-24 12:48:41 +08:00
parent 77ba57e8fa
commit 6b36d3280d
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ in
};
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.settings.PasswordAuthentication = false;
services.openssh.extraConfig =
''
StreamLocalBindUnlink yes

View File

@ -24,8 +24,8 @@ in
};
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.gatewayPorts = "clientspecified";
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.GatewayPorts = "clientspecified";
services.openssh.extraConfig =
''
StreamLocalBindUnlink yes