get_pin for scard-opensc.c

Markus Friedl markus at
Fri May 9 08:21:06 EST 2003

i think that if you want to use pin protected cards the ssh-agent
should be used. ssh-add will prompt for the pin.

On Thu, May 08, 2003 at 04:31:23PM -0400, Kevin Stefanik wrote:
> I'm attaching a patch to allow ssh client to get a pin from the command line 
> when using a smartcard.  Most of it is from a patch by Danny De Cock 
> <godot () ulyssis ! org>, but I've used the ssh read_passphrase function 
> instead.  Any errors are mine, I'm sure.
> This enables ssh -I 0 to use a pin-protected smartcard via opensc.
> Thanks,
> Kevin Stefanik

More information about the openssh-unix-dev mailing list