Merge pull request #215917 from VergeDX/patch-1

nixos/virtualisation/linode-image: Migrate to new openssh options.
This commit is contained in:
Nick Cao 2023-02-12 13:32:38 +08:00 committed by GitHub
commit b7ee0509ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,8 @@ with lib;
services.openssh = {
enable = true;
permitRootLogin = "prohibit-password";
passwordAuthentication = mkDefault false;
settings.PermitRootLogin = "prohibit-password";
settings.PasswordAuthentication = mkDefault false;
};
networking = {