Skip to content

Commit 08c665e

Browse files
Update README.md
Cosmetics
1 parent d5cbb42 commit 08c665e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,14 +607,16 @@ Instead of using SSM to connect to the container from command line, proceed to t
607607

608608
3. Configure the remote interpreter in your IDE
609609

610-
Make sure you've configured your ssh config as mentioned in the [~/.ssh/config](#sshconfig) section and your IDE can access and execute `sm-ssh` command from the system env and IDE terminal, e.g. by running `sm-ssh list`.
610+
Make sure you've configured your ssh config as mentioned in the [~/.ssh/config](#sshconfig) section and your IDE can access and execute `sm-ssh` command from the system env and IDE terminal.
611611

612-
If you connect to your host for the first time, check that `ssh` command is working from CLI:
612+
If you connect to your host for the first time, check that `ssh` command is working from CLI (you get the fqdn host name from the output of `sm-ssh list` command):
613613

614614
```bash
615615
ssh sh-training-manual-2023-10-02-14-38-56-744.training.sagemaker
616616
```
617617

618+
#### PyCharm (option A)
619+
618620
A. Follow the [instructions in the PyCharm docs](https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html#remote-interpreter), to configure the remote interpreter in PyCharm.
619621

620622
In the field for host name, put the same value as for `fqdn` in the [`sm-ssh` command](#sm-ssh), e.g., `ssh-training-manual-2023-10-02-14-38-56-744.training.sagemaker`, and use `root` as the username.
@@ -633,6 +635,8 @@ You can find this location by running a cell with `import sys; sys.executable` c
633635

634636
*Tip:* Now you also can [upload and download files from remote](https://www.jetbrains.com/help/pycharm/uploading-and-downloading-files.html) and [synchronize files with remote](https://www.jetbrains.com/help/pycharm/comparing-deployed-files-and-folders-with-their-local-versions.html).
635637

638+
#### VSCode (option B)
639+
636640
B. Follow the [instructions for VSCode](https://code.visualstudio.com/docs/remote/ssh), to configure local Visual Studio Code app
637641

638642
Put the `root@fqdn` as the hostname to connect to, e.g., `root@ssh-training-example-2023-07-25-03-18-04-490.training.sagemaker` .

0 commit comments

Comments
 (0)