使用域名访问远程jupyter_从Windows远程访问Jupyter笔记本?

I usually access Jupyter notebook running on Linux from Mac OS X via port forwarding like following:

Is it possible to do similar thing from Windows 10 instead of Mac OS? I guess putty or WSL offer one.

解决方案

Yes, you can create an SSH tunnel to connect to the Jupyter Notebook web interface using PUTTY on windows. Before proceeding, make sure that the Jupyter Notebook instance is up and running on the server. Just follow the below instructions:

Download the latest version of PUTTY

Open PUTTY and enter the server URL or IP address as the hostname

Now, go to SSH on the bottom of the left pane to expand the menu and then click on Tunnels

Enter the port number which you want to use to access Jupyter on your local machine. Choose 8000 or greater (ie 8001, 8002, etc.) to avoid ports used by other services, and set the destination as localhost:8888 where :8888 is the number of the port that Jupyter Notebook is running on. Now click the Add button, and the ports should appear in the Forwarded ports list.

Finally, click the Open button to connect to the server via SSH and tunnel the desired ports. Navigate to http://localhost:8000 (or whatever port you chose) in a web browser to connect to Jupyter Notebook running on the server.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值