Generate Jupyter Password¶
from notebook.auth import passwd
passwd()
Use Password in Jupyter config¶
{
"NotebookApp": {
"password": "argon2:$argon2id$v=19$m=10240,t=10,p=8$WRlMB2K+RRj7Q8kFN3CvVQ$WGpUDx2lT97F5S4Z1wuifQ",
"ip": "*",
"port": 8888,
"notebook_dir": "/home/jovyan/work"
}
}