You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Github now supports hardware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys. #12216
However the Github Desktop app will hang on push/pull of a repo configured to use a h/w SSH token. It will kind of work since you can touch the h/w key when it hangs to allow it to continue. But there is no prompt.
Proposed solution
The desktop app needs to be ssh h/w token aware and prompt the user to touch their token (or cancel the operation) when it encounters the need to.
changed the title [-]Github now supports harware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys.[/-][+]Github now supports hardware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys.[/+]on May 14, 2021
I can still reproduce this with GitHub Desktop 3.6.3 on Windows 11 using an ed25519-sk hardware-backed SSH key stored on a YubiKey.
The application appears to hang during Fetch, but after investigation the Windows Security dialogs are actually being created—they are simply never brought to the foreground.
Prerequisites
Repository is configured to use an SSH remote.
Hardware-backed ed25519-sk SSH key stored on a YubiKey.
GitHub Desktop Options → Advanced → Use system OpenSSH is disabled.
When Use system OpenSSH is enabled, GitHub Desktop hangs indefinitely during Fetch and no SSH key passphrase prompt is ever displayed, preventing authentication from proceeding.
I can consistently complete authentication by:
Click Fetch Origin.
Enter the SSH key passphrase.
Minimize and restore GitHub Desktop Window.
The Windows Security "Choose a passkey" dialog will then appear.
Select Security key.
Touch the YubiKey.
Enter the SSH key passphrase again.
Minimize and restore GitHub Desktop a second time.
The Windows Security dialog will then appear again.
from both PowerShell and the VS Code terminal displays the Windows Security dialogs normally without requiring the minimize/restore workaround, suggesting the issue is specific to GitHub Desktop's handling of the Windows authentication UI rather than SSH or the hardware key itself.
My ~/.ssh/config explicitly points to a single SSH key using IdentityFile with IdentitiesOnly yes, so GitHub Desktop is not cycling through multiple identities during authentication.
Activity
[-]Github now supports harware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys.[/-][+]Github now supports hardware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys.[/+]steveward commentedon May 14, 2021
Thanks for the issue @grempe, I'm going to add this to our tracking list of SSH improvements (#2579).
cdelvaux commentedon Aug 1, 2026
I can still reproduce this with GitHub Desktop 3.6.3 on Windows 11 using an ed25519-sk hardware-backed SSH key stored on a YubiKey.
The application appears to hang during Fetch, but after investigation the Windows Security dialogs are actually being created—they are simply never brought to the foreground.
Prerequisites
I can consistently complete authentication by:
For comparison, running:
from both PowerShell and the VS Code terminal displays the Windows Security dialogs normally without requiring the minimize/restore workaround, suggesting the issue is specific to GitHub Desktop's handling of the Windows authentication UI rather than SSH or the hardware key itself.
My
~/.ssh/configexplicitly points to a single SSH key usingIdentityFilewithIdentitiesOnly yes, so GitHub Desktop is not cycling through multiple identities during authentication.Answer ssh's questions in the app