prohibit password ssh

This commit is contained in:
jaina heartles 2024-02-27 12:56:01 -08:00
parent 68196f50e7
commit ddf9d49b66
1 changed files with 1 additions and 0 deletions

View File

@ -57,5 +57,6 @@
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN"
];
services.openssh.settings.PasswordAuthentication = false;
system.stateVersion = "23.11";
}