[BUG] Remote Control session SSH falls

Resolved 💬 2 comments Opened Mar 25, 2026 by stamkivi Closed Apr 24, 2026

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?

When using Claude Code via Remote Control, git push over SSH fails with Permission denied (publickey). The same operation works fine when running Claude Code locally on the same machine.

What Should Happen?

Remote control should allow me to use the environment and tools on my computer as if i was sitting at the local keyboard.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce

  1. Open Claude Code locally, verify git push works (SSH key in local agent)
  2. Connect to the same session via Remote Control
  3. Have Claude run git push — fails with:

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

  1. Switch back to local terminal, run git push — works fine

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code 2.1.83, running on Claude Opus 4.6 (1M context).

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Accessing remote control via Claude iOS app

View original on GitHub ↗

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