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