[IPython-User] Remote access to ipython notebook server with ssh multi hop
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 <firstname.lastname@example.org> 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
> 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 <email@example.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
> # echoes all of your traffic to the ipython_host
> # %h is the 'HostName' defined above
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User