Skip to content

Instantly share code, notes, and snippets.

@mjlassila
Last active September 28, 2015 08:03
Show Gist options
  • Save mjlassila/6a8d3fb61f2633e191fa to your computer and use it in GitHub Desktop.
Save mjlassila/6a8d3fb61f2633e191fa to your computer and use it in GitHub Desktop.
Using Yubikey NEO PIV with SSH in OSX
  • Install yubico-piv-tool and openssh from Homebrew. Default OSX SSH (OpenSSH_6.2p2) will not work. OpenSSH_7.1p1 from Homebrew works.
  • Use OpenSC release version. Required library for SSH is located at /Library/OpenSC/lib/opensc-pkcs11.so
  • Put row PKCS11Provider /Library/OpenSC/lib/opensc-pkcs11.so to ~/.ssh/config for Host *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment