claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] cloning git repositories with a FIDO2 SSH key no longer work when adding marketplaces or plugins from v2.0.15 and up

Open Neurrone opened this issue 4 months ago • 3 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I'm no longer able to add or update marketplaces or plugins via Claude Code. For example, /plugin marketplace add obra/superpowers-marketplace from v2.0.15 and up.

I connect to GitHub via a YubiKey backed fido2 SSH key.

Previously, this worked in V2.0.14. However, I now get the following error when trying to add a marketplace:

  ⎿  Error: Failed to clone marketplace repository: Cloning into '/home/dickson/.claude/plugins/marketplaces/obra-superpowers-marketplace'...
     notify_start: exec(/usr/bin/ssh-askpass): No such file or directory

I do get a prompt to touch my YubiKey as per usual, but after I do so, the error above appears.

I'm able to clone the repository normally outside of Claude Code.

What Should Happen?

Claude should be able to clone from GitHub.

Error Messages/Logs


Steps to Reproduce

  1. Configure ~/.ssh/config to use a FIDO2 SSH key, backed by a YubiKey
  2. Attempt to add a plugin marketplace with Claude Code

Claude Model

None

Is this a regression?

Yes

Last Working Version

2.0.14

Claude Code Version

Tested from 2.0.15 to 2.0.22

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

No response

Neurrone avatar Oct 17 '25 13:10 Neurrone

This last worked in Claude Code V2.0.14 and regressed from 2.0.15 and up.

Neurrone avatar Oct 19 '25 03:10 Neurrone

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 09 '25 10:12 github-actions[bot]

Ref: https://github.com/anthropics/claude-code/issues/13798#issuecomment-3672939271

Claude is sending some odd arguments to Git that will break other environments, which may relate to this issue if it's still occurring in more recent versions.

jamestelfer avatar Dec 19 '25 00:12 jamestelfer