To run the Jupyter Notebook on a remote host, first, you need to start Jupyter without a browser on the host.
jupyter notebook --no-browser --port=port_number
Then, you need to set a port on your machine to connect the
port_number on the host.
ssh -N -L localhost:local_port_number:localhost:port_number user@host
Now you can easily open your browser and go to