github tavrez/openssh-sk-winhello v1.0.2
Release v1.0.2

latest releases: v2.0.0, v1.1.0
3 years ago

Installation

these files are compiled for the MSYS environment(Git for Windows is using MSYS).
For other environments like Cygwin please refer to README file to learn how to download the source code and compile it.

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, /usr/lib directory is preferred.

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 local config file ~/.ssh/config(or global config /etc/ssh/ssh_config) 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(If you do not use full path in ssh-add, ssh-agent may block you):

ssh-add -S /usr/lib/winhello.dll ~/.ssh/id_ecdsa_sk

You can also set SSH_SK_PROVIDER environment variable in your shell init code for ssh-keygen and ssh-add instead of argument method explained above. For example if you are using bash, add this line in ~/.bashrc file:

export SSH_SK_PROVIDER=/usr/lib/winhello.dll

Use the full path to winhello.dll or ssh-agent will probably refuse to add your key.

Don't miss a new openssh-sk-winhello release

NewReleases is sending notifications on new releases.