Re: Connect to remote kernel on AWS using local qtconsole?

Thomas Kluyver <[email protected]> Mon, 24 Aug 2015 15:03:20 -0700
Newsgroups gmane.comp.python.ipython.user
Message-ID <CAOvn4qgsGL2it8+RGxjHJRhMjm11DR8Wa=73Qqbum-SYQAMZ7A@mail.gmail.com>
--===============0434795758==
Content-Type: multipart/alternative; boundary=047d7b414326d7b193051e15ca43

--047d7b414326d7b193051e15ca43
Content-Type: text/plain; charset=UTF-8

On 24 August 2015 at 13:30, Reckoner <[email protected]> wrote:

> I have been able to connect to a remote notebook server on Amazon AWS via
> the browser. Can I get to this kernel using   a local qtconsole?  In other
> words, can I do something like this on the local client:
>
> % ipython qtconsole --kernel <something>
>
> My concern is that the instructions listed above refer to a password and
> certificate that is required by the browser to connect to the remote
> server. How would this work with the desired qtconsole? Maybe some kind of
> tunnel is required to handle this case?
>

Yes, it would require an SSH tunnel to the VM where the kernels are running:

http://jupyter.org/qtconsole/stable/#ssh-tunnels

Thomas

--047d7b414326d7b193051e15ca43
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 2=
4 August 2015 at 13:30, Reckoner <span dir=3D"ltr">&lt;<a href=3D"mailto:re=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div></div><div>I ha=
ve been able to connect to a remote notebook server on Amazon AWS via the b=
rowser. Can I get to this kernel using =C2=A0 a local qtconsole?=C2=A0 In o=
ther words, can I do something like this on the local client:</div><div><br=
></div><div>% ipython qtconsole --kernel &lt;something&gt;</div><div><br></=
div><div>My concern is that the instructions listed above refer to a passwo=
rd and certificate that is required by the browser to connect to the remote=
 server. How would this work with the desired qtconsole? Maybe some kind of=
 tunnel is required to handle this case?</div></blockquote></div><br></div>=
<div class=3D"gmail_extra">Yes, it would require an SSH tunnel to the VM wh=
ere the kernels are running:<br><br><a href=3D"http://jupyter.org/qtconsole=
/stable/#ssh-tunnels">http://jupyter.org/qtconsole/stable/#ssh-tunnels</a><=
br><br></div><div class=3D"gmail_extra">Thomas<br></div></div>

--047d7b414326d7b193051e15ca43--

--===============0434795758==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
IPython-User mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/ipython-user

--===============0434795758==--