claude-code - 💡(How to fix) Fix [BUG] Claude Desktop SSH: Password auth fallback removed in claude-ssh version cee98937, breaking connections that worked in 9e5781db [1 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#48565Fetched 2026-04-16 06:56:34
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×5cross-referenced ×1

Error Message

Working (April 14, version 9e5781db):

[SSH2Connection] Connection error: All configured authentication methods failed [SSH2Connection] Retrying with password auth (keyboard-interactive not available) [SSH2Connection] Connected to [email protected]:22

Broken (April 15, version cee98937):

[SSH2Connection] Connection error: All configured authentication methods failed [RemoteServerController] Connection failed (120240ms): All configured authentication methods failed

Code Example

# Working (April 14, version 9e5781db):
[SSH2Connection] Connection error: All configured authentication methods failed
[SSH2Connection] Retrying with password auth (keyboard-interactive not available)
[SSH2Connection] Connected to tarsadmin@192.168.10.7:22

# Broken (April 15, version cee98937):
[SSH2Connection] Connection error: All configured authentication methods failed
[RemoteServerController] Connection failed (120240ms): All configured authentication methods failed
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?

Claude Desktop's SSH remote connection to a Linux server stopped working after the app auto-updated on April 15, 2026. The claude-ssh binary updated from version 9e5781db to cee98937, and the new version no longer falls back to password authentication when keyboard-interactive auth fails.

Before the update (working, March 31 – April 14):

  1. Connects with keyboard: true
  2. keyboard-interactive fails: "All configured authentication methods failed"
  3. Retries with password auth → succeeds
  4. Connected

After the update (broken, April 15):

  1. Connects with keyboard: true
  2. keyboard-interactive fails: "All configured authentication methods failed"
  3. No retry — immediately gives up
  4. "Connection failed"

The ssh.log shows this pattern clearly. Every connection from March 31 through April 14 shows the "Retrying with password auth" line followed by success. After April 15 at 07:24 when ClaudeSSHManager initialized with the new version, zero retries occur across 20+ connection attempts.

The server's sshd_config has not changed. The server is reachable (regular SSH from terminal works fine). The other two Claude Code projects (local repos, no SSH) work fine in the same app.

What Should Happen?

Claude Desktop should fall back to password auth when keyboard-interactive fails, as it did in claude-ssh version 9e5781db.

Error Messages/Logs

# Working (April 14, version 9e5781db):
[SSH2Connection] Connection error: All configured authentication methods failed
[SSH2Connection] Retrying with password auth (keyboard-interactive not available)
[SSH2Connection] Connected to [email protected]:22

# Broken (April 15, version cee98937):
[SSH2Connection] Connection error: All configured authentication methods failed
[RemoteServerController] Connection failed (120240ms): All configured authentication methods failed

Steps to Reproduce

  1. Have a Linux server where keyboard-interactive auth is unavailable but password auth works
  2. Set up SSH remote connection in Claude Desktop (was working before update)
  3. App auto-updates, claude-ssh changes from 9e5781db to cee98937
  4. All SSH connections fail — "All configured authentication methods failed"
  5. No password auth fallback is attempted (previously the app would show "Retrying with password auth")

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

claude-ssh 9e5781db566ba58c6c90b9ea712abbeb62c99eb5

Claude Code Version

2.1.101 (remote CLI), Claude Desktop MSIX latest

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

ssh.log

extent analysis

TL;DR

The most likely fix is to revert the claude-ssh binary to version 9e5781db or wait for a new version that reinstates the password authentication fallback.

Guidance

  • Verify that the issue is indeed caused by the update of the claude-ssh binary by checking the ssh.log for the "Retrying with password auth" line, which is absent after the update.
  • Check the server's sshd_config to ensure that password authentication is enabled and not restricted.
  • Consider downgrading the claude-ssh binary to version 9e5781db as a temporary workaround, if possible.
  • Monitor the GitHub issues and releases for an update that addresses this regression.

Example

No code snippet is provided as the issue seems to be related to a specific version of the claude-ssh binary.

Notes

The issue is specific to the claude-ssh binary version cee98937 and the fallback to password authentication is not attempted after the update. The server's configuration and other components of the Claude Code app seem to be working correctly.

Recommendation

Apply workaround: Revert the claude-ssh binary to version 9e5781db until a new version that fixes this regression is released. This is because the previous version worked as expected, and the new version introduced the bug.

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