> For the complete documentation index, see [llms.txt](https://docs.k9.io/key9-identity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k9.io/key9-identity/ssh/installation-and-setup/windows-yubikey-smartcard-piv-instructions/3.-adding-libykcs11.dll-to-ssh-configurations..md).

# 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].*&#x20;

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

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