Run Jupyter Server with GPU Access on HPCs
1. Set up ssh connection with DGX or DLS as described in Connect to HPCs
ssh connection with DGX or DLS as described in Connect to HPCs2. Add port forwarding
LocalForward 56789 127.0.0.1:56789Host jump-box
HostName eniac.cs.hunter.cuny.edu
User eniac_username
IdentityFile ~/.ssh/id_rsa (path/to/your/id_rsa)
ServerAliveInterval 240
Host dgx
HostName 146.95.214.135
User dgx_username
IdentityFile ~/.ssh/id_rsa (path/to/your/id_rsa)
ProxyCommand ssh -q -W %h:%p jump-box
LocalForward 56789 127.0.0.1:56789
ServerAliveInterval 240
Host dls
HostName 146.95.128.169
User dls_username
IdentityFile ~/.ssh/id_rsa (path/to/your/id_rsa)
ProxyCommand ssh -q -W %h:%p jump-box
LocalForward 56789 127.0.0.1:56789
ServerAliveInterval 2403. Start container with GPU port published to host
4. Insider your container, start Jupyter server
5. Connect to the server


6. (Optional) Set up a password for your Jupyter notebook
Last updated