From ddf9d49b667e2bce71afba9b5557e5647445b110 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Tue, 27 Feb 2024 12:56:01 -0800 Subject: [PATCH] prohibit password ssh --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index 6bf7f8d..3f8c452 100644 --- a/configuration.nix +++ b/configuration.nix @@ -57,5 +57,6 @@ users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN" ]; + services.openssh.settings.PasswordAuthentication = false; system.stateVersion = "23.11"; }