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
Copy file name to clipboardExpand all lines: FAQ.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,20 @@ on Windows as usual.
71
71
72
72
Yes, the setup is similar to SageMaker Studio. Run [SageMaker_SSH_Notebook.ipynb](SageMaker_SSH_Notebook.ipynb) on the notebook instance and `sm-local-ssh-notebook connect <<notebook-instance-name>>` your local machine.
73
73
74
-
Review the instructions for [SageMaker Studio integration with PyCharm / VSCode](README.md#studio) for the rest of details.
74
+
Add the following configuration to `~/.ssh/config` on the local machine:
75
+
76
+
```text
77
+
Host sagemaker-notebook
78
+
HostName localhost
79
+
IdentityFile ~/.ssh/sagemaker-ssh-gw
80
+
Port 17022
81
+
User root
82
+
```
83
+
84
+
Review the instructions for [SageMaker Studio integration with PyCharm / VSCode](README.md#studio) for more details.
85
+
86
+
Note that unlike `sm-local-ssh-ide`, `sm-local-ssh-notebook` doesn't support VNC or remote notebook connection. Connecting to notebook instances with SageMaker SSH Helper is more akin to connecting to a training job. It uses [SageMaker local mode](https://sagemaker.readthedocs.io/en/stable/overview.html?#local-mode) to run the container with the SSM agent.
87
+
75
88
76
89
### How do you start the SSM session without knowing EC2 instance or container ID?
0 commit comments