Skip to content

Github now supports hardware SSH keys like Yubikey. Github Desktop silently hangs on pull/push to SSH repos using these keys. #12216

Open

Description

@grempe

Describe the feature or problem you’d like to solve

Github officially supports hardware SSH keys and makes a big marketing push around it:

https://github.blog/2021-05-10-security-keys-supported-ssh-git-operations/

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.

Activity

  1. 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
  2. steveward commented on May 14, 2021

    @steveward
    Contributor

    Thanks for the issue @grempe, I'm going to add this to our tracking list of SSH improvements (#2579).

  3. added
    not-planned
    on Jul 8, 2024
  4. cdelvaux commented on Aug 1, 2026

    @cdelvaux

    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:

    1. Click Fetch Origin.
    2. Enter the SSH key passphrase.
    3. Minimize and restore GitHub Desktop Window.
    4. The Windows Security "Choose a passkey" dialog will then appear.
    5. Select Security key.
    6. Touch the YubiKey.
    7. Enter the SSH key passphrase again.
    8. Minimize and restore GitHub Desktop a second time.
    9. The Windows Security dialog will then appear again.
    10. Select Security key.
    11. Touch the YubiKey.
    12. Fetch completes successfully.

    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/config explicitly points to a single SSH key using IdentityFile with IdentitiesOnly yes, so GitHub Desktop is not cycling through multiple identities during authentication.

  5. added a commit that references this issue on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnot-planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions