Windows10 远程连接Ubuntu服务器 使用Jupyter

网上查阅了很多中方法,被端口不停的切换弄得很头痛,以下简单方法,亲自测试有效

一.本地电脑访问

1.本地终端输入

ssh  [email protected]_host   -L8008:localhost:8888

#ssh -L 本地地址:本地端口:目的地址:目的端口

#本地地址被省略了

#其中 remote_user是用户名 

#remote_host是服务器的名字

2.输入 ipython notebook/ jupyter notebook

Windows10 远程连接Ubuntu服务器 使用Jupyter

 

 

3.http://localhost:8888/

在服务器上按照图片中显示的网址输入 

后来这个地址又变成 http://localhost:8008/tree?

4.成功