1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【最速3分】jupyter notebookをssh経由サーバ上で使う方法

Last updated at Posted at 2018-03-17

こんにちは。コードは以下です。

//remote
ssh -N -L 9999:localhost:9999 anata@anata_no_ip_address
jupyter notebook --no-browser --port=9999

//local
ssh -N -L 9999:localhost:9999 anata@anata_no_ip_address

おわりです。

あとはブラウザにtokenを入力すれば接続できます。

他にも以下のコードでコンフィグ設定ができるようですが、
jupyter notebook --generate-config

今回は「最速3分」なので飛ばしました。

2018-03-19

というかGoogle Colabを使ったほうがいい。
https://colab.research.google.com

1
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?