Enable password authentication in ssh if k-ot is enabled
This commit is contained in:
parent
28ebefdf33
commit
1c60f462a1
|
@ -183,7 +183,7 @@
|
|||
openssh = {
|
||||
# Required for deployment and sops
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
passwordAuthentication = lib.mkIf (!config.c3d2.k-ot.enable) false;
|
||||
permitRootLogin = "prohibit-password";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue