You can run the notebook on the remote in no browser mode.
jupyter notebook --no-browser --port=8080
Then setup up an ssh tunnel from the local machine:
ssh -L 8080:localhost:8080 USERNAME@REMOTEHOST
Then in your local browser go to: http://localhost:8080/
Reference - https://docs.anaconda.com/anaconda/user-guide/tasks/remote-jupyter-notebook/