Skip to content

SSH Helper is failing to register instances to SSM fleet manager for jupyter lab and code editor apps #72

@balaram59-work

Description

@balaram59-work

Hi,
I have been trying to ssh into jupyter lab and code editor apps using sagemaker-ssh-helper(2.2.1). However it is failing to connect.

  • When I looked into the code, the root cause is that it is trying to read user_profile_name from /opt/ml/metadata/resource-metadata.json in _print_sm_user_profile_name method in sm-helper-functions
  • For now we have modified the method to function _print_sm_user_profile_name() { echo -n $USER_PROFILE_NAME }
    and made it work by passing user_profile_name as env variable

Metadata

Metadata

Assignees

No one assigned

    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