permit root login
This commit is contained in:
parent
28d6686fb3
commit
4fc9253fad
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ in
|
|||
;
|
||||
};
|
||||
|
||||
# Allow root SSH login for backup clients to pull data
|
||||
# Note: Configure root's authorized keys via users.users.root.openssh.authorizedKeys.keys
|
||||
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
|
||||
# Ensure SSH is enabled for backup access
|
||||
assertions = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue