title: Unable to access running jupyter session over SSH
body: <p>I am trying to run a jupyter notebook on remote remote machine <code>user@remote</code>  and use it from my local machine.  I did</p>
  
  <pre><code>local@host  $ ssh user@remote
  user@remote $ ipython notebook --no-browser --port=8889
  http://localhost:8889/?token=2656c58d730bd3779be5f1b6af9356b4de7113c927c9c722
  </code></pre>
  
  <p>Which starts the jupyter session in remote machine. Then, on my local machine then I do</p>
  
  <pre><code>local@host  $ ssh -N -L localhost:8888:localhost:8889 user@remote
  </code></pre>
  
  <p>when I open this(<code>http://localhost:8888/?token=2656c58d730bd3779be5f1b6af9356b4de7113c927c9c722
  </code>), it says</p>
  
  <pre><code>local@host  $ channel 2: open failed: connect failed: Connection refused
  </code></pre>