3. Adding libykcs11.dll to SSH configurations.

You'll need to add the following to your SSH "config". This file is located in your home directory under the directory .ssh. If you don't have a $HOME/.ssh/config file and/or directory, it is safe to create them. Below is a simple Powershell command that will create and add the PKCS library (libykcs11.dll) to your .ssh/config file:

New-Item -Path $env:USERPROFILE.ssh\ -Name "config" -ItemType "file" -Value 'PKCS11Provider "C:\Program Files\Yubico\Yubico PIV Tool\bin\libykcs11.dll"'

[Note: Depending on if your are installing the -win32.msi or -win64.mis, then PKCS11Provider might be different].

You can also open the .ssh/config file and add the text manually:

PKCS11Provider "C:\Program Files\Yubico\Yubico PIV Tool\bin\libykcs11.dll"

Last updated