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.
rootssh will not help you. Just use plain ssh with port forwarding.
So, for what fun purposes could this rootssh port possibly be used (when ROOT is not running, of course)?
no rootssh redirects unix socket - not a normal http port
I played with it quite a while ago, when I fixed this script to get it working on/between different operating systems.
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.
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:
rootssh -L 8800:localhost:8800 account@remote.host
But use of rootssh in such situation does not have any advantage compared to plain ssh