https://docs.anaconda.com/anaconda/user-guide/tasks/remote-jupyter-notebook/
On server
jupyter notebook --no-browser --port=8080
On local machine
# Replace <PORT> with the port number you selected in the above step
# Replace <REMOTE_USER> with the remote server username
# Replace <REMOTE_HOST> with your remote server address
ssh -L 8080:localhost:<PORT> <REMOTE_USER>@<REMOTE_HOST>
- switch to frappe-bench/sites and run
../env/bin jupyter notebook
- if you get an error for log directory, while in sites run
mkdir -p ./jupyter_notebooks/site_name/logs