2017年11月29日 星期三

Using jupyter notebook via ssh

Using jupyter notebook via ssh:

  1. SSH to remote server / workstation (140.112.xxx.xxx) :
  2.    You should choose a port other than 1234

    Linux:
    ssh 140.112.xxx.xxx -L 1234:localhost:1234
    PuTTY on Windows 



    Then run jupyter notebook on remote machine (replace keras with your virtualenv):
    . keras/bin/activate
    pip install jupyter
    jupyter notebook --no-browser --port=1234

  3. On local computer::

  4. Copy/paste this URL into your browser when you connect for the first time, to login with a token:
http://localhost:1234?token=xxxxxxxxxx

沒有留言: