Make passwordless ssh for ptouch-print-server work again
Now (with NixOS 24.05) pam.services.sshd.allowNullPassword needs to be set to true for passwordless ssh to work apparently.
This commit is contained in:
parent
026e47d055
commit
7058ec3582
|
@ -90,9 +90,7 @@ in
|
||||||
# pam_deny.so # deny (order 12400)" for pam.d/sshd, so enable
|
# pam_deny.so # deny (order 12400)" for pam.d/sshd, so enable
|
||||||
# PasswordAuthentication to have it not do that.
|
# PasswordAuthentication to have it not do that.
|
||||||
services.openssh.settings.PasswordAuthentication = lib.mkForce true;
|
services.openssh.settings.PasswordAuthentication = lib.mkForce true;
|
||||||
# The following doesn't need to be set in order for empty passwords to work
|
security.pam.services.sshd.allowNullPassword = true;
|
||||||
# apparently:
|
|
||||||
# security.pam.services.sshd.allowNullPassword = true;
|
|
||||||
services.openssh.extraConfig = ''
|
services.openssh.extraConfig = ''
|
||||||
Match User print
|
Match User print
|
||||||
PubkeyAuthentication no
|
PubkeyAuthentication no
|
||||||
|
|
Loading…
Reference in a new issue