Installation
Compiled files of this project are available on GitHub releases. It is compiled for the MSYS environment(Git for Windows is using MSYS).
For other environments like Cygwin please download the source code and compile it yourself.
Note: If you are using OpenSSH version 8.2p1, you need to install and configure(or compile) a modified ssh-sk-helper
, if you are using OpenSSH 8.3p1 or higher, it's not needed.
winhello.dll
Copy this file wherever you want, PATH or LIB directory is preferred(e.g. /usr/bin
).
Configure OpenSSH to use winhello
ssh
, ssh-keygen
, ssh-add
can use this module(sshd
could also use security keys but it's a little weird to do so).
To use in ssh
open ssh_config
(normally in /etc/ssh
) and add this:
Host *
SecurityKeyProvider winhello.dll
For use in ssh-keygen
use -w
argument like this:
ssh-keygen -t ecdsa-sk -w winhello.dll
And for use in ssh-add
use -S
command:
ssh-add -S winhello.dll ~/.ssh/id_ecdsa_sk
You can also set SSH_SK_PROVIDER
environment variable for ssh-keygen
and ssh-add
instead of argument method explained above, for example:
SSH_SK_PROVIDER=winhello.dll ssh-keygen -t ecdsa-sk
SSH_SK_PROVIDER=winhello.dll ssh-add ~/.ssh/id_ecdsa_sk
Use full path to winhello.dll
if it's not in bin or lib folders or if you get "file not found" error.