ssh tunnel을 오랜만에 다시 하게 되었다.
ipython notebook --no-browser --port=8889
local_user@local_host$ ssh -N -f -L localhost:8888:localhost:8889 remote_user@remote_host
Requests ssh to go to background just before command execution. This is useful if ssh is going to ask for passwords or passphrases, but the user wants it in the background. This implies -n. The recommended way to start X11 programs at a remote site is with something like ssh -f host xterm.
If the ExitOnForwardFailure configuration option is set to ``yes'', then a client started with -f will wait for all remote port forwards to be successfully established before placing itself in the background.
Do not execute a remote command. This is useful for just forwarding ports.