Remote machine, start the IPython notebooks server:
remote_user@remote_host$ ipython notebook --no-browser --port=8889
Local machine, start an SSH tunnel:
local_user@local_host$ ssh -N -L localhost:8888:localhost:8889 remote_user@remote_host
Open browser on local machine and type in the address bar:
localhost:8888