Vivian Duong
February 01, 2018
How To Set A Password For Jupyter Notebook
How to Setup a Password for Your Jupyter Notebook
According to Jupyter’s Documentation, new versions of Jupyter give you the opportunity to setup a password from the user interface. The following are directions if that option is not available.
1. Open Git BASH
2. SSH into your AWS instance by running ssh ubuntu@[instance_ipv4_addr]
3. Get the name the Docker container running Jupyter by running docker ps
For information about docker ps
, go to this link
If you do not have a container that is running Jupyter, create a container running Jupyter. Look to How to Set Up an AWS Instance, Docker, and Jupyter for directions.
4. Execute an interactive bash shell on the Jupyter container by running docker exec -it [container_name] bash
For information about docker exec
, go to this link
5. Run jupyter notebook password
The shell will tell you to simply enter and verify your password. Run the same command if you want to reset your password. You do not need your old password to reset it.