Hi,
Jean-Michel Pour? - GOOZE wrote:> This questions is about smartcard/usb token support in OpenSSH.
>
> pcsc-lite now supports udev rules.
>
> It should be possible to trigger ssh-add -s /usr/lib/openssh-pkcs11.so
> when inserting a USB token.
> At the same time there should be a way to trigger ssh-add
> -e /usr/lib/openssh-pkcs11.so on USB token removal.
>
> Did some of you test this scenario?
As you may know, ssh-add communicates with ssh-agent, which as you
may also know is not available from udev. But you could probably
hack something up with dbus.
//Peter