远程服务器的jupyter notebook && screen

  • connect to server and start jupyter notebook
1
jupyter notebook --no-browser --ip=localhost  --port=8889
  • Local operation
1
ssh -N -f -L localhost:8888:localhost:8889 ly@121.48.165.30

Screen create session

  • 新建
1
screen -S yourname
  • 列出
1
screen -ls
  • 返回
1
screen -r yourname 
  • 远程detach某个session
1
screen -d yourname
  • 结束当前session并回到yourname这个session
1
screen -d -r yourname
  • Kill screen session
1
2
screen -list
screen -S screen_id -X quit