This gist shows how to get rid of authentication when connecting to Greatlakes by ssh.
Add the following to ~/.ssh/config
Host greatlakes
HostName greatlakes.arc-ts.umich.edu
User jimmyzxj
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p
These steps have been tested on Windows 10 with WSL2 running Ubuntu.
First install the dependencies:
apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
There are more than we need, but also include GLut and Glu libraries to link aginst during compilation for application development (these can be removed if that functionality is not required).