prohibit password ssh
This commit is contained in:
parent
68196f50e7
commit
ddf9d49b66
1 changed files with 1 additions and 0 deletions
|
@ -57,5 +57,6 @@
|
|||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN"
|
||||
];
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue