[BUG] Failed to clone marketplace repository for both HTTPs and SSH

Open 💬 4 comments Opened Dec 10, 2025 by ors-zn

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?

Our private marketplace already installed in Claude Code, it is hosted as github repo in our organization.
Since latest version, when I try to update or add the marketplace, we encounter an issue of authentication failure for both SSH and HTTPs although by gh cli or git cli it works.

What Should Happen?

Claude should update the marketplace

Error Messages/Logs

✘ Failed to add marketplace: Failed to clone marketplace repository: SSH authentication failed. Please ensure your SSH keys are configured for GitHub, or use an HTTPS URL instead.

Original error: Cloning into '/Users/user/.claude/plugins/marketplaces/our-marketplace'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Failed to add marketplace: Failed to clone marketplace repository: HTTPS authentication failed. You may need to configure credentials, or use an SSH URL for GitHub repositories.

Original error: Cloning into '/Users/user/.claude/plugins/marketplaces/temp_1765372792604'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Steps to Reproduce

Given a marketplace in private repo of the org
Add marketplace to the Claude Code

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.62

Claude Code Version

2.0.64

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗