Skip to content

Conversation

@bhavya2109sharma
Copy link
Contributor

Problem

When attempting to connect to a SageMaker Space, if the user's SSH config has syntax errors (even outside the sm_* section), users would see a cryptic error message:

ssh check against host failed: 255

This error message:
Didn't explain what was wrong
Didn't indicate it was an SSH config issue
Didn't provide a way to fix the problem

Solution

Enhanced the SSH configuration error handling to provide a better user experience:

Shows a clear message explaining the issue.
Displays the actual SSH error (including line numbers)
Provides an "Open SSH Config" button to directly open the config file for editing

Screen.Recording.2025-11-19.at.3.43.38.PM.mov

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bhavya2109sharma bhavya2109sharma requested a review from a team as a code owner November 20, 2025 00:03
@github-actions
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@bhavya2109sharma bhavya2109sharma force-pushed the fix/ssh-255-error branch 2 times, most recently from 91b91b4 to 618470b Compare November 20, 2025 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant