Plugin install uses SSH clone, fails without SSH key for public repos

Resolved 💬 4 comments Opened Apr 17, 2026 by Shajeel-Afzal Closed Apr 17, 2026

Bug

claude plugin install clones marketplace plugins via SSH (git@github.com:), fails with Permission denied (publickey) on machines without SSH key registered to GitHub — even though the repo is public and HTTPS clone would work.

Repro

claude plugin install claude-obsidian@claude-obsidian-marketplace

Marketplace: https://github.com/AgriciDaniel/claude-obsidian
Manifest uses standard source: github slug format — no SSH URL anywhere.

Error

Failed to clone repository: Cloning into '.../temp_github_...'
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Expected

HTTPS clone for public repos, or fall back to HTTPS when SSH fails.

Workaround

git config --global url."https://github.com/".insteadOf git@github.com:

Env

  • Claude Code CLI: 2.1.112
  • Model: Claude Opus 4.7 (claude-opus-4-7, 1M context)
  • macOS Darwin 25.3.0
  • Shell: zsh

View original on GitHub ↗

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