Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Issue with sm-ssh-ide in SageMaker Unified Studio #73

Copy link
Copy link
@didhd

Description

@didhd
Issue body actions

Description

SageMaker Unified Studio is GA release, And I encountered issues with sm-ssh-ide configure --ssh-only command.

  1. Permission and Shell Initialization Issues:
sm-ssh-ide: Configuring services...
/usr/local/bin/_activate_current_env.sh: line 8: : command not found
critical libmamba Shell not initialized

The command fails with permission errors when trying to access /home/sagemaker-user:

find: Failed to change directory: /home/sagemaker-user: Permission denied
find: Failed to restore initial working directory: /home/sagemaker-user: Permission denied
  1. IAM Role Conflicts:
    Following the IAM setup instructions from IAM_SSM_Setup.md creates problematic role configurations. The provided scripts cause role assumption failures and permission conflicts. This makes it impossible to properly assume roles in the Studio environment.

Environment

  • SageMaker Unified Studio (GA version)
  • Default Studio environment
  • Following official documentation and IAM setup guide

Expected Behavior

  • sm-ssh-ide configure should complete successfully
  • IAM roles should work correctly without assumption conflicts

Actual Behavior

  • Shell initialization fails
  • Permission denied errors for /home/sagemaker-user
  • IAM role assumption fails after applying the recommended IAM setup

Could you please provide guidance on:

  1. Correct permission setup for Unified Studio
  2. Updated IAM configuration that doesn't break role assumption
  3. Proper shell initialization process for the new Studio environment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.