Microsoft/vscode

Source Control GUI doesn't prompt for yubikey auth on push/pull

Open

#276691 opened on Nov 11, 2025

View on GitHub
 (2 comments) (3 reactions) (1 assignee)TypeScript (74,848 stars) (10,221 forks)batch import
buggithelp wanted

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.105.1
  • OS Version: MacOS Sequoia 15.7.2; (Darwin arm64 24.6.0)

Steps to Reproduce:

  1. Set up a remote git repo requiring yubikey auth to login to account (e.g. Gitea)
  2. Use source control GUI to push / pull

Expected behaviour

Prompt user to use their yubikey

Actual behaviour

Error message window appears: "Git: Missing or invalid credentials".

Command output contains:

Missing or invalid credentials.
Error: Bad status code: 500
[redacted]
Permission denied (keyboard-interactive).
fatal: Could not read from remote repository.

However, using the integrated terminal does prompt for user interaction.

Many thanks a great program btw, VSCode rocks!

Contributor guide