I would like to connect to ssh host using the following command:
ssh -I /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so HOSTNAME
The error says that the library returned no slots..
debug1: provider /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so: manufacturerID cryptokiVersion 2.20 libraryDescription libraryVersion 0.17 debug1: pkcs11_add_provider: provider /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so returned no slots
The command to list readers works ok and I can see the slot - it's there.
$ opensc-tool --list-readers # Detected readers (pcsc) Nr. Card Features Name 0 Yes Gemalto USB Shell Token V2 00 00
What could be the reason for this?
This might be releated: How can I set up smart card SSH authentication?
I officially gave up on this.