# Use rootssh for JupyterLab

**URL:** <https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418>\
**Category:** General Chat\
**Tags:** python, jupyter\
**Created:** [November 18, 2025, 11:47pm UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418 "2025-11-18T23:47:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 18, 2025, 11:47pm UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/1 "2025-11-18T23:47:45Z")

</div>

Assume one connects to some remote machine with: `rootssh --port 8080 ...`  
Is there an easy way to (re)use this connection (i.e., the port) to run the standard JupyterLab?  
Something like the default: `jupyter lab --no-browser --port=8080`  
Then, on the local machine, open “`http://localhost:8080/lab?token=...`” in the browser.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 19, 2025, 6:35am UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/2 "2025-11-19T06:35:43Z")

</div>

`rootssh` will not help you. Just use plain ssh with port forwarding.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 19, 2025, 8:23pm UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/3 "2025-11-19T20:23:31Z")

</div>

So, for what fun purposes could this `rootssh` port possibly be used (when ROOT is not running, of course)?

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 20, 2025, 1:18am UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/4 "2025-11-20T01:18:13Z")

</div>

no rootssh redirects unix socket - not a normal http port

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 20, 2025, 7:49am UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/5 "2025-11-20T07:49:31Z")

</div>

[I played with it quite a while ago, when I fixed this script to get it working on/between different operating systems.](https://root-forum.cern.ch/t/the-rootssh-shell-script-fixes/58906)  
Well, I was now wondering if I could gain something from it (some utilities do support “unix sockets”, too).  
It seems, though, that even you (its author) do not try to “reuse” it for other purposes.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [November 20, 2025, 8:01am UTC](https://root-forum.cern.ch/t/use-rootssh-for-jupyterlab/64418/6 "2025-11-20T08:01:08Z")

</div>

Unix socket redirection configured to be used with ROOT THttpServer. It cannot be used for redirection of jupyter server. One of course can add port redirection with `rootssh` like:

```auto
rootssh -L 8800:localhost:8800 account@remote.host

```

But use of `rootssh` in such situation does not have any advantage compared to plain `ssh`
