buptczq / WinCryptSSHAgent

Using a Yubikey for SSH Authentication on Windows Seamlessly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delay between authentications

kaeltis opened this issue · comments

Hi,

I've tried switching from GPG4Win to this, it works well in both KiTTY (a PuTTY fork) and WSL 2, however I noticed one major problem:

When I try opening the first SSH connection it works without any problems, however if I try to open another connection directly after that, I'm getting this window:

WinCryptSSHAgent_7hyqpvdtQy

Only after waiting for around 15-30 seconds I can open another connection.
While this isn't an issue with manual connections, it makes automated connections for example with ansible almost impossible.

I could not reproduce this with Putty and WSL2.

Have you tried it with the current version of WinCryptSSHAgent?

A shot in the dark:
If you have GPG signing keys on the same YubiKey the GPG Agents/Clients tend to block the whole YubiKey so you cannot access the PIV key anymore. Maybe you suffer from the same problem.
Unfortunately I haven't heard of a solution for this problem except using two different YubiKeys.