在服务器上
安装 jupyter notebook
conda install jupyter notebook
打开虚拟环境
conda activate env_name
打开工作目录
cd /home/ubuntu/work
打开jupyter notebook
jupyter notebook --no-browser --port=8889
在本地电脑终端cmd运行
ssh -N -f -L localhost:8888:localhost:8889 ubuntu@192.201.8.151
打开浏览器
打开url http://localhost:8888/
在token里输入
此页面是服务器终端
OK,完成