sombrero: Disable password login for ssh

This commit is contained in:
Alexander Heldt
2023-10-31 21:39:47 +01:00
parent d2f3b628bb
commit 57432afd01

View File

@@ -45,6 +45,11 @@ in
type = "ed25519";
}];
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
authorizedKeysCommand = "/etc/ssh/authorized_keys_command";
authorizedKeysCommandUser = "root";
};