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