- ssh your remote server:
ssh username@serverip
;
- source a Python environment which has the Jupyter installed;
- execute:
$ jupyter notebook --no-browser --port=8889 --NotebookApp.allow_origin="*" --ip=serverip --NotebookApp.token=''
-
port forwarding:
$ ssh -N -f -L localhost:8888:serverip:8889 username@serverip
-
access the remote notebook from a web application (e.g. safari):
$ open -a safari http://localhost:8888