How do I setup CLion for debugging and development in a remote docker container in Linux?

I’m trying to follow this tutorial… and was able to progress up to step 4. I can execute step 5 and ssh into the container from the terminal in the server, but not from my own computer, where I’m running Clion. How can I set up Clion to ssh into the server and then into the container from here?