spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
73 stars 18 forks source link

Enable SSH tunneling for Jupyter manager and client communication #1875

Open ptsavol opened 2 years ago

ptsavol commented 2 years ago

After testing Spine Engine Server on an actual server (not just a local virtual box), it looks like starting a Jupyter Console on a server does not work out of the box. The reason is that the jupyter manager does not see the (jupyter) client because most computers are behind a NAT nowadays. The solution is to establish an SSH connection between the jupyter manager and the jupyter client. The jupyter-client library seems to contain the required functions already. We just need to enable it and then figure out how the client is supposed to get the authentication token from the server. In addition, an SSH connection requires a user name, so creating a new user account must be added as a new Spine Engine Server setup step.

jkiviluo commented 3 weeks ago

@ptsavol Is this an issue still?

ptsavol commented 2 weeks ago

Yes, but not very urgent IMO.