Skip to content

sm-local-ssh-ide stopped working and ssh asks for root password #20

@ivan-khvostishkov

Description

@ivan-khvostishkov

Due to recent changes in SageMaker Studio related to file permissions, copying SSH keys over SSM into '/root/.ssh/authorized_keys' is not producing a desired effect. The following message appears when you run sm-local-ssh-ide from the local machine:

Connecting to mi-1234567890abcdef0 as proxy and starting port forwarding with the args: -L localhost:10022:localhost:22 -L localhost:5901:localhost:5901 -L localhost:8889:localhost:8889 -R 127.0.0.1:443:jetbrains-license-server.corp.amazon.com:443
Warning: Permanently added 'mi-1234567890abcdef0' (ED25519) to the list of known hosts.
root@mi-1234567890abcdef0's password: 

SageMaker SSH Helper will change the location of keys to '/etc/ssh/authorized_keys' and will release this change ASAP in the version v1.10.1.

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