Skip to main content
SangJunni
Gold ⭐️
February 26, 2024
Solved

About CDSWCTL: Connecting to existing Session

Hi, our team has started using Cloudera Data Science Workbench.
We want to connect CDSW with VSCODE using SSH and have followed the steps described in the Cloudera documentation.
However, I cannot find method to reconnect existing(running) session using cdswctl CLI.

I came across  this article stating that reconnecting to an existing session was impossible as of 2020. Is this still the case?"

Additionally, if there are any alternative methods available, please let me know." 🙂

SangJunni
SangJunniAnswer
Gold ⭐️
February 26, 2024

I found the method to reconnect existing Sessions.

```

cdswctl ssh-endpoint -p <project_name> -s <session-id>

```
Session ID is listed at the end of session URL. (alphanumeric)

1 reply

SangJunni
SangJunniAuthorAnswer
Gold ⭐️
February 26, 2024

I found the method to reconnect existing Sessions.

```

cdswctl ssh-endpoint -p <project_name> -s <session-id>

```
Session ID is listed at the end of session URL. (alphanumeric)

Translate