This is for keeping useful stuff
remote_user@remote_host$ ipython notebook --no-browser --port=8889
local_user@local_host$ ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host
-
in browser: localhost:8888
-
close ssh tunel:
local_user@local_host$ ps aux | grep localhost:8889
local_user@local_host$ kill -15 id