claude-code - 💡(How to fix) Fix **Bug: SSH connection to cPanel server broken after April 15 2026 update** [3 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
anthropics/claude-code#48193Fetched 2026-04-15 06:30:31
View on GitHub
Comments
3
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×3closed ×1

Error Message

SSH remote connection was working perfectly before the April 15 2026 update. After the update, connections silently fail with "Connection failed" and no error message or diagnostic information shown in the UI. 2. SSH key authentication silently fails — even with a valid RSA PEM format private key (no passphrase), the connection fails with no error. The exact same key connects successfully from PowerShell (ssh -i key user@host works immediately). 4. Connection fails silently — "Connection failed" with no error details SSH connection should succeed as it did before the update, or at minimum show a useful error message.

Error Messages/Logs

Fix Action

Fix / Workaround

Impact Completely broken workflow that was working the day before. No viable workaround within the desktop app.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Environment

  • OS: Windows
  • Product: Claude Code Desktop App (Windows)
  • Server: cPanel/WHM on Linux (newserver.appraise-services.com.au)
  • SSH User: non-root cPanel account

What happened SSH remote connection was working perfectly before the April 15 2026 update. After the update, connections silently fail with "Connection failed" and no error message or diagnostic information shown in the UI.

Two regressions introduced in this update:

  1. Password authentication option removed from connection dialog — previously there was a password field, now it is gone entirely, forcing users to use SSH key auth only.

  2. SSH key authentication silently fails — even with a valid RSA PEM format private key (no passphrase), the connection fails with no error. The exact same key connects successfully from PowerShell (ssh -i key user@host works immediately).

Steps to reproduce

  1. Open Claude Code desktop app on Windows
  2. Add SSH connection with: host, username, and valid private key path
  3. Click connect
  4. Connection fails silently — "Connection failed" with no error details

Expected behaviour SSH connection should succeed as it did before the update, or at minimum show a useful error message.

Verified working

  • ssh -i C:\Users\info\.ssh\claude_code2 [email protected] connects immediately from PowerShell
  • Host is in known_hosts
  • Key is RSA PEM format, no passphrase
  • Server is not running as root
  • Port 22 is open

Impact Completely broken workflow that was working the day before. No viable workaround within the desktop app.

What Should Happen?

see above

Error Messages/Logs

Steps to Reproduce

see above

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Version 1.2581.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The most likely fix is to investigate and resolve the SSH key authentication issue in the Claude Code desktop app, potentially by re-adding the password authentication option or fixing the silent failure with SSH key authentication.

Guidance

  • Verify that the SSH key is correctly formatted and being read by the Claude Code app, as the same key works from PowerShell.
  • Check the Claude Code app's configuration and settings to see if there are any changes or updates related to SSH key authentication that may be causing the issue.
  • Test the connection with a different SSH key or authentication method, if possible, to isolate the issue.
  • Consider reaching out to the Claude Code support team or developers to report the issue and request assistance, as this is a regression from a previous version.

Example

No code snippet is provided as the issue is related to the Claude Code desktop app's functionality and not a specific code snippet.

Notes

The issue seems to be specific to the Claude Code desktop app and its interaction with SSH key authentication. The fact that the same key works from PowerShell suggests that the issue is not with the key itself, but rather with how the app is handling it.

Recommendation

Apply workaround: Use an alternative method to connect to the server, such as using a different SSH client or a different authentication method, until the issue is resolved in the Claude Code app. This is because the current version of the app has a regression that breaks the workflow, and using a workaround can help mitigate the issue until a fix is available.

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