[IPython-User] remote notebook and qtconsole

Jody Klymak jklymak@uvic...
Sat Aug 10 22:19:53 CDT 2013



On Aug 10, 2013, at  15:00 PM, MinRK <benjaminrk@gmail.com> wrote:

> I don't know the provenance of that wiki file, but it's *way* easier than that page describes.  In this case, my remote kernel is at hostname `kerbin`, which I have as an ssh alias
> 
> 1. get the connection file:
> 
>     scp kerbin:.ipython/profile_default/security/kernel-19924.json ./
> 
> 2. start the qtconsole with that connection file, adding `--ssh kerbin` to tell IPython to open some tunnels:
> 
>     ipython qtconsole --existing ./kernel-19924.json --ssh kerbin
> 
> And you are done.
> 
> Any way to get the connection info locally works, so if the `scp` command is inconvenient for some reason, you can use the `%connect_info` magic, and just copy/paste the JSON into a file on your local machine and repeat step 2.

Even better!  This works fine, and is reasonable fussiness.  Is there an easy way to call %connect_info programatically?  The rest would be easy to write a script for.

Thanks,   Jody


> -MinRK
> 
>     
> 
> 
> On Sat, Aug 10, 2013 at 11:44 AM, Jody Klymak <jklymak@uvic.ca> wrote:
> 
> On Aug 10, 2013, at  11:39 AM, Thomas Kluyver <takowl@gmail.com> wrote:
>> We have a plan for a Web Console integrated with the notebook, so you can run quick temporary things without a separate client.
>> 
>> 
> 
> That sounds fabulous.  Thanks,   Jody
> 
> 
> --
> Jody Klymak    
> http://web.uvic.ca/~jklymak/
> 
> 
> 
> 
> 
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
> 
> 
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

--
Jody Klymak    
http://web.uvic.ca/~jklymak/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130810/f2e09cb3/attachment.html 


More information about the IPython-User mailing list