Smartcard support for SSH client
Originally created by @florian.uekermann on #16909 (Redmine)
Two small changes would enable smart card users to use their smartcard for ssh auth.
1. Installing the opensc package.
This would allow using ssh -I /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so x
y@ and similar
commands.
2. Add PKCS11Provider /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so
to
/etc/ssh/ssh_config
This allows using ssh x
y@ or git clone/pull/push
As an alternative to step 2, users can add the line to their ~/.ssh/config. But that obviously requires awareness and persistence to be convenient.