Connecting to ipython notebook with SSH tunneling

My typical ssh tunnel looks something like: ssh -N -f -L 8889:SERVER.colorado.edu:8889 ginsbura@SERVER.colorado.edu

For ipython notebooks, this approach was giving me the error: `` channel 2: open failed: connect failed: Connection refused``. The ipython notebook is at http://127.0.0.1:8888/ locally. Therefore, the correct ssh tunnel command is: ssh -N -f -L localhost:8888:localhost:8888 adam@SERVER.colorado.edu

Comments