[IPython-User] Remote access to ipython notebook server with ssh multi hop

Jimmie Yoo jimmie.yoo@chaj....
Mon Aug 5 23:54:14 CDT 2013


Sorry read your mail too fast. Did u try it with just regular http to see
if it works?

On Monday, August 5, 2013, Jimmie Yoo wrote:

> Should be http://localhost:8888 no?
>
>
> On Mon, Aug 5, 2013 at 4:48 PM, George Nurser <gnurser@gmail.com> wrote:
>
> Hi Jimmie,
> Thanks for responding, and sorry it's taken me so long to get back to this.
>
> I've tried what you suggest, except I just use the standard
> ~/.ssh/id_rsa.
>
> If I do ssh -L 8888:localhost:8888 ipy_host &
> then the browser hangs when I load https://localhost:8888/ (I need to do
> https as the notebook is password-protected).
>
> If I miss out the &, at least I get an ERR_SSL_PROTOCOL_ERROR, but still
> no joy.
>
> cheers, George Nurser
>
>
> On 19 May 2013 17:50, Jimmie Yoo <jimmie.yoo@chaj.com> wrote:
>
> Repeat post:
>
> I had to do something like this recently and one of the simplest ways that
> I've found is to modify your ssh config file as follows:
>
> [user@mylaptop ~/]# cat .ssh/rsg_config
> # Host is whatever friendly name you want to use for the ipython_host
> Host ipy_host
>
>   # ipython_host ssh username
>   User         ipython_user
>
>   # Actual ipython hostname
>   HostName     ipython.bla.local
>
>   # Path to your private key file if you're using one and only needs
>   # to be defined if you're not using the default one (~/.ssh/id_rsa)
>   # This will come into play when connecting to the gateway
>   IdentityFile ~/.ssh/ipython_id_rsa
>
>   # This is the command that will be invoked on the gateway host after
>   # you connect. As you can see it simply executes an nc (netcat) which
> just
>   # echoes all of your traffic to the ipython_host
>   # %h is the 'HostName' defined above
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130806/bb4acfaf/attachment.html 


More information about the IPython-User mailing list