ollama - 💡(How to fix) Fix Ollama v0.19.0: 'ollama pull' fails with 'ssh: no key found' error on macOS ARM64 [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15201Fetched 2026-04-08 02:22:38
View on GitHub
Comments
2
Participants
2
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
commented ×2closed ×1

Error Message

On macOS ARM64 (Apple Silicon), after a fresh install of Ollama v0.19.0 via Homebrew, any attempt to pull a model fails immediately with the error: Error: pull model manifest: ssh: no key found Actual: Error: pull model manifest: ssh: no key found

  • The /api/pull endpoint always returns {error: "pull model manifest: ssh: no key found"}
RAW_BUFFERClick to expand / collapse

Bug Description

On macOS ARM64 (Apple Silicon), after a fresh install of Ollama v0.19.0 via Homebrew, any attempt to pull a model fails immediately with the error:

Error: pull model manifest: ssh: no key found

This occurs with:

  • ollama pull bge-m3
  • ollama pull nomic-embed-text
  • ollama create (using a local Modelfile)

No SSH keys or credentials are configured, and the operation does not involve any SSH server.

Steps to Reproduce

  1. brew install ollama (installs v0.19.0 on macOS ARM64)
  2. ollama serve (daemon starts successfully)
  3. ollama pull bge-m3

Expected: Model downloads and installs Actual: Error: pull model manifest: ssh: no key found

Environment

  • macOS (Apple Silicon, ARM64)
  • Ollama v0.19.0 (installed via Homebrew)
  • No SSH keys configured

Additional Context

  • OLLAMA_REGISTRY_HOST environment variable has no effect
  • Creating a dummy SSH key at ~/.ssh/id_ed25519 does not resolve the issue
  • Direct HTTP access to registry.ollama.ai works fine (verified with curl)
  • The /api/pull endpoint always returns {error: "pull model manifest: ssh: no key found"}
  • This appears to be an internal code path that unconditionally attempts SSH key resolution even for plain HTTPS registry downloads

extent analysis

TL;DR

The issue is likely due to an internal code path in Ollama that unconditionally attempts SSH key resolution, even for plain HTTPS registry downloads, and a workaround may involve modifying the Ollama configuration or code to bypass this behavior.

Guidance

  • Investigate the Ollama codebase to identify the specific code path that is attempting SSH key resolution and determine if it can be modified to handle HTTPS registry downloads correctly.
  • Consider setting environment variables or configuration options that may influence the Ollama registry download behavior, although the OLLAMA_REGISTRY_HOST variable has already been tried without effect.
  • Verify that the issue is specific to the ollama pull command and the /api/pull endpoint, and that other Ollama commands or endpoints do not exhibit the same behavior.
  • Test the ollama pull command with a different registry or model to see if the issue is specific to the bge-m3 model or the registry.ollama.ai registry.

Example

No code snippet is provided as the issue does not contain sufficient information to suggest a specific code change.

Notes

The issue appears to be specific to Ollama v0.19.0 on macOS ARM64, and the root cause is likely related to the internal code path that handles registry downloads. The fact that creating a dummy SSH key does not resolve the issue suggests that the problem is not related to SSH key configuration.

Recommendation

Apply workaround: The best course of action is to investigate and modify the Ollama code or configuration to bypass the unconditional SSH key resolution behavior, as upgrading to a fixed version is not currently an option.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING