Login to SSRDE and load the code-server module:
module load code-server
Once the module is loaded, start your server:
code-server
After entering the "code-server" command, you will need to find the port number from the output to be able to configure your SSH tunnel. From the above example, the port is 8080. Also, you will need to obtain the password in ~/.config/code-server/config.yaml
On Mac, use a new Terminal to create the SSH tunnel by following this format:
ssh -L <port>:localhost:<port> <username>@remoteServer.ucsd.edu
From the previous example, my command would be:
ssh -L 8080:localhost:8080 sscf-silas@ssrde.ucsd.edu
After the SSH tunnel connection is created, you can now connect to your Jupyter notebook from your local Mac's web browser. In your favorite web browser, enter http://localhost:<port> command output into the address bar.
From the previous example, the URL that I paste into my address bar is: http://localhost:8080