Skip to content

Instantly share code, notes, and snippets.

View yan4321's full-sized avatar

Yan Tesis yan4321

View GitHub Profile
@yan4321
yan4321 / readme.md
Last active July 8, 2024 08:24
Instructions on how to test Win32 openssh with PKCS11 keys in ssh-agent (PR#537)

Instructions on how to test Win32 openssh with PKCS11 keys in ssh-agent (PR#537)

  • Build ssh-agent with the macro ENABLE_PKCS11 defined (if using Visual Studio you can add it to the preprocessor definitions in the configuration management)
  • Tell Windows to use the newly built ssh-agent binary
    • SC CONFIG ssh-agent binPath="<path_to_binary>" (In an administrator command prompt)
  • Restart ssh-agent service
    • net stop ssh-agent
    • net start ssh-agent

Instructions on how to test with SoftHSM