Asking PIN on usb dongle insert
    Peter Stuge 
    peter at stuge.se
       
    Mon Jan 10 05:29:18 EST 2011
    
    
  
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
    
    
More information about the openssh-unix-dev
mailing list