Trying to connect to a Jupyter Notebook through SSH.
I have a script which logs in to machine through SSH:
#!/usr/bin/expect -f
spawn ssh -L localhost:4000:localhost:8889 user@sshaddress.com
expect "assword:"
send "password\r"
interact
Set the jupyter password:
jupyter notebook password
# set it to something
Then I run jupyter:
jupyter notebook --no-browser --port=8889
Then I open my localhost:4000
and get the jupyter login page.
However, putting in the password here only gives 'Invalid credentials'.
Why would this be?