无法通过SSH访问正在运行的jupyter会话

时间:2018-11-26 21:36:27

标签: ssh jupyter-notebook

我正在尝试在远程远程计算机user@remote上运行jupyter笔记本,并在本地计算机上使用它。我做到了

local@host  $ ssh user@remote
user@remote $ ipython notebook --no-browser --port=8889
http://localhost:8889/?token=2656c58d730bd3779be5f1b6af9356b4de7113c927c9c722

哪个将在远程计算机上启动jupyter会话。然后,在我的本地计算机上

local@host  $ ssh -N -L localhost:8888:localhost:8889 user@remote

当我打开此(http://localhost:8888/?token=2656c58d730bd3779be5f1b6af9356b4de7113c927c9c722 )时,它说

local@host  $ channel 2: open failed: connect failed: Connection refused

0 个答案:

没有答案