

Start a ssh tunneling session to tunnel through login node and the interactive job node: ssh -t -t -L 7077:localhost:8088 ssh node001 -L 8088:localhost:9099
SSH TUNNEL JUPYTER NOTEBOOK WINDOWS
SSH Port Forwarding (instead of VPN) Windows + PuTTY users. Select the tab with the main Jupyter page and press Quit this will stop the server and also the slurm batch job. This closes the tab but doesn’t stop the session. To run the jupyter notebook session on the background, tmux or screen could be used. To stop the notebook, do File Close and Halt.
Last step, launch a jupyter notebook session with no browser: jupyter notebook -no-browser -port 9099 ssh to Quadcorn with tunneling using the following command: sshSelect jupyter from listed hosts, it will open a new VSCode window. With gpu requested, the node name will not be started with node001, but maybe node012, be sure to look for the node name before tunneling. This guide requires prerequisites of Notebook with enabled SSH Server feature and. Note: after the node has been request, you should be able to see the node name on your prompt or you could use ifconfig to find the ip address to use in place of the node name as well. Tunnel the jupyter service nohup ssh -N -L localhost:8081:localhost:8888. Or to add arguments to request additional resources, such as using srun -p m40-short -t 0-01:00 -gres=gpu:1 -pty bash to request a gpu. Using jupyter notebook version 6.3.0 with python 3.6.9 on an Azure VM running. Log into gypsum on one terminal: ssh start an interactive job (requesting a node with cpu/gpu): srun -p m40-short -t 0-01:00 -pty bash

