[IPython-dev] Remote connection to IPython kernel

Pablo Winant pablo.winant at gmail.com
Thu Oct 20 15:35:43 EDT 2011

Hi all,

I am trying to run an Ipython server on a distant machine with SSH
(preferably the notebook) but I couldn't figure out how to do. So far, I
have tried two approaches:

- run a webnotebook on the server, listening on,   tunnel the
port to my machine   mymachine:9999 and access it with my local browser.
With this setup, I can see a list of notebooks and can apparently edit them
but no cell is evaluated. It looks very strange to me as the notebook works
correctly if I use a browser running on the server. Is it a websocket
problem (both browsers are recent enough)

- try to adapt the follow the instructions given in the doc for the
connection over ssh. However, when I run the kernel on the server, it
doesn't print the list of ports anymore but gives the name of a json file. I
understand this is the new system to store connection informations but I
don't know how to use it over the network. I tried   --existing
--ssh=myserver   but it doesn't work (yet ?).

Is there currently a way to run a kernel over ssh ? I understand the target
is moving quite fast and I am following the progress with great interest.

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20111020/6cf33420/attachment.html>

More information about the IPython-dev mailing list