You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi, @balaram59-work , thanks for raising the issue. It's a known problem. Will be fixed in the upcoming release as part of #51 . I'm closing this now as duplicate.
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.
function _print_sm_user_profile_name() { echo -n $USER_PROFILE_NAME }
and made it work by passing user_profile_name as env variable
The text was updated successfully, but these errors were encountered: