в терминале на вашем удаленном сервере:
#download anaconda (change version if you want)
wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh
# run the installer
bash Anaconda3-5.1.0-Linux-x86-64.sh
# so changes in your path take place in you current session:
source ~/.bashrc
#To run a remote notebook, replace XXXX with your choice of four numbers like 9191
jupyter notebook --no-browser --port=XXXX
#copy the url that you get as a result
Затем на вашем локальном компьютере откройте терминал и напишите:
#XXXX is the port you specified in the previous step, YYYY is a local port, for example 9999 to keep it simple
ssh -f [USER]@[SERVER] -L YYYY:localhost:XXXX -N
Затем скопируйте URL из предыдущего шага, вставьте его в браузер, поскольку вы использовали тот же порт, вам не нужно ничего менять в URL