5
2

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.

Jupyterにパスワードを設定する

Last updated at Posted at 2018-06-01

tl;dr

これで終わり

$ jupyter notebook --generate-config
$ jupyter notebook password

tokenつらい

どっかのマシンでjupyterを立てておいて,遠くからsshしようとしたらtokenわからないみたいなシチュエーションありますよね
パスワードがあればいいけどググるとjupyter_notebook_config.jsonとかいじらなきゃいけない感じでめんどくさいみたいなのありますよね
ドキュメント見てみたら普通に専用のコマンドがありました

dockerで立てるときも,~/.jupyterをコンテナの$HOME/.jupyterにアタッチしてやれば完璧です

5
2
3

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
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?