1

I want to connect to existing notebooks via ssh tunnel / vpn on a remote linux machine.

I can not log in to the remote desktop viewing them, but can generally log into another desktop session via Windows Remote Desktop (Win7, Linux with xrdp), so that I found the *.json files containing the ports (see similar questions 1, though I have no experience in finding the correct job/file).

After connecting a vpn and putty ssh tunnel (port A), I tried to access localhost:A by opening that in Firefox. Also I tried to run ipython notebook --existing kernel-B.json.

This did not work.

  • Do notebooks have to be on the tunneled port?
  • Or is there a way to connect (not start as in 2), or should I open a tunnel for every notebook port?

Similar questions:

  1. Connecting to a remote IPython instance
  2. Connect ipython-notebook via SSH tunnel from a remote location
Community
  • 1
  • 1
BadAtLaTeX
  • 614
  • 1
  • 9
  • 22

1 Answers1

0

Read this: How do I add a kernel on a remote machine in IPython (Jupyter) Notebook?

Remote jupyter kernel/kernels administration utility (the rk) here: https://github.com/korniichuk/rk

  • Should I open a tunnel for every notebook port?
  • Yes!
Community
  • 1
  • 1
korniichuk
  • 550
  • 1
  • 8
  • 13