Remote Jupyter Server (ssh)
Random number: 57
#On the ssh server
#Make sure you check which pdsf server you are on
jupyter notebook --no-browser --port=[XXXX]
#On local machine; access the notebook with localhost:[YYYY] on local machine
ssh -f [USER]@[SERVER] -L [YYYY]:localhost:[XXXX] -N
#In case it hangs, to print you PID of process bound on that port.
fuser [XXXX]/tcp
#And if you want to straight up kill it
fuser -k [XXXX]/tcp
#TO check GPUs
nvidia-smi