<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Sorry, it’s pam-ssh-agent-auth:<div><br></div><div><a href="https://linux.die.net/man/8/pam_ssh_agent_auth">https://linux.die.net/man/8/pam_ssh_agent_auth</a><br id="lineBreakAtBeginningOfSignature"><div dir="ltr"><br></div><div dir="ltr">A</div><div dir="ltr"><br><blockquote type="cite">On 12 Aug 2024, at 13:48, Andrew Gallagher <andrewg@andrewg.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>You can use pam-auth-ssh-agent with gpg’s ssh-agent emulation. Thisnhas the advantage that it also works over remote ssh connections (with ssh agent forwarding enabled).</span><br><span></span><br><span>Andrew Gallagher</span><br><span></span><br><blockquote type="cite"><span>On 12 Aug 2024, at 13:27, Matthias Apitz <guru@unixarea.de> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I use in my Linux Debian mobile L5 an internal OpenPGP card for the</span><br></blockquote><blockquote type="cite"><span>password-store and for outbound SSH/SCP. Is there a way, for example</span><br></blockquote><blockquote type="cite"><span>with a config in /etc/pam.d/.... to used the OpenPGP card for providing</span><br></blockquote><blockquote type="cite"><span>the password to 'sudo xxxx' or 'sudo -s'</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thanks</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span> matthias</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span>Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045</span><br></blockquote><blockquote type="cite"><span>Public GnuPG key: http://www.unixarea.de/key.pub</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I am not at war with Russia. Я не воюю с Россией.</span><br></blockquote><blockquote type="cite"><span>Ich bin nicht im Krieg mit Russland.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Gnupg-users mailing list</span><br></blockquote><blockquote type="cite"><span>Gnupg-users@gnupg.org</span><br></blockquote><blockquote type="cite"><span>https://lists.gnupg.org/mailman/listinfo/gnupg-users</span><br></blockquote></div></blockquote></div></body></html>