fix deploy-rs root access somehow

This commit is contained in:
2026-09-26 17:46:20 -04:00
parent be529429a8
commit 7000c48629
3 changed files with 6 additions and 7 deletions
+1 -4
View File
@@ -9,7 +9,7 @@
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
@@ -22,7 +22,4 @@
users.users.lilac.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6kdpZqaqtyfGVNRxpA24sw37MGpXV/NUaALTEt98EK lilac@laptop"
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6kdpZqaqtyfGVNRxpA24sw37MGpXV/NUaALTEt98EK lilac@laptop"
];
}