fix(pam): Switch to rssh for ssh-agent based PAM auth
The old module stopped working with my new yubikey, so...
This commit is contained in:
parent
af4c3bfbcc
commit
71ab2af0e5
1 changed files with 3 additions and 3 deletions
|
@ -117,11 +117,11 @@
|
|||
sudo.execWheelOnly = true;
|
||||
|
||||
pam = {
|
||||
sshAgentAuth = {
|
||||
rssh = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = [ "/etc/ssh/authorized_keys.d/%u" ];
|
||||
settings.auth_key_file = "/etc/ssh/authorized_keys.d/$ruser";
|
||||
};
|
||||
services.sudo.sshAgentAuth = true;
|
||||
services.sudo.rssh = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue