Using OpenSSH with smart cards HOWTO

Markus Friedl markus.r.friedl at arcor.de
Wed Apr 7 04:50:47 EST 2010


On Tue, Apr 06, 2010 at 05:05:22PM +0200, François Pérou wrote:
> On Tue, 2010-04-06 at 15:52 +0300, Lars Nooden wrote:
> > You might wish to focus on sftp instead of scp.
> Okay, I will have a look.
> 
> I had some problems:
> 
> 1) I would like to store smart card information
> -o PKCS11Provider=/usr/lib/opensc-pkcs11.so
> in /etc/ssh/ssh-config. Is it possible?

yes,

echo PKCS11Provider /usr/lib/opensc-pkcs11.so > /etc/ssh/config

> 2) ssh-add -s does not seem to work.

you have to use
	ssh-add -s /usr/lib/opensc-pkcs11.so


More information about the openssh-unix-dev mailing list