21 lines
462 B
Markdown
21 lines
462 B
Markdown
OpenSC: https://github.com/OpenSC/OpenSC
|
|
|
|
|
|
```shell
|
|
ssh-keygen -D /Library/OpenSC/lib/opensc-pkcs11.so
|
|
ssh -I /Library/OpenSC/lib/opensc-pkcs11.so root@example.com
|
|
```
|
|
|
|
`~/.ssh/config`
|
|
|
|
```plain
|
|
PKCS11Provider /Library/OpenSC/lib/opensc-pkcs11.so
|
|
```
|
|
|
|
<br>
|
|
|
|
# Reference
|
|
1. https://github.com/tpm2-software/tpm2-pkcs11/blob/master/docs/SSH.md
|
|
1. https://github.com/ThomasHabets/simple-tpm-pk11
|
|
1. https://ubuntu.com/server/docs/smart-card-authentication-with-ssh
|